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"}}])