From 9b70377dbd0b33491746ac71c32a811ece282096 Mon Sep 17 00:00:00 2001 From: Brandon Dunne Date: Mon, 8 Jan 2018 17:24:56 -0500 Subject: [PATCH] Factory names are usually symbols --- spec/models/ext_management_system_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/ext_management_system_spec.rb b/spec/models/ext_management_system_spec.rb index a09692c9d59..09ece6b9f63 100644 --- a/spec/models/ext_management_system_spec.rb +++ b/spec/models/ext_management_system_spec.rb @@ -162,7 +162,7 @@ context "with multiple endpoints using connection_configurations" do let(:ems) do - FactoryGirl.build("ems_openstack", + FactoryGirl.build(:ems_openstack, :hostname => "example.org", :connection_configurations => [{:endpoint => {:role => "amqp", :hostname => "amqp.example.org"}}]) @@ -181,7 +181,7 @@ context "with multiple endpoints using connection_configurations (string keys)" do let(:ems) do - FactoryGirl.build("ems_openstack", + FactoryGirl.build(:ems_openstack, "hostname" => "example.org", "connection_configurations" => [{"endpoint" => {"role" => "amqp", "hostname" => "amqp.example.org"}}])