Skip to content

Commit

Permalink
Merge pull request #16975 from bdunne/factory_references
Browse files Browse the repository at this point in the history
Factory names are usually symbols
  • Loading branch information
chrisarcand authored Feb 8, 2018
2 parents b5d6684 + 9b70377 commit 863255b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/models/ext_management_system_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"}}])
Expand All @@ -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"}}])
Expand Down

0 comments on commit 863255b

Please sign in to comment.