Skip to content

Commit

Permalink
Merge pull request #13413 from mansam/openstack-vm-factory-should-hav…
Browse files Browse the repository at this point in the history
…e-cloud-tenant

Add tenant to openstack instance factory so that tests match reality
(cherry picked from commit 83c7c6a)

https://bugzilla.redhat.com/show_bug.cgi?id=1413695
  • Loading branch information
blomquisg authored and simaishi committed Jan 16, 2017
1 parent 2170398 commit 62c06f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/factories/vm_openstack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
vendor "openstack"
raw_power_state "ACTIVE"
sequence(:ems_ref) { |n| "some-uuid-#{seq_padded_for_sorting(n)}" }
cloud_tenant { FactoryGirl.create(:cloud_tenant_openstack) }
end

factory :vm_perf_openstack, :parent => :vm_openstack do
Expand Down

0 comments on commit 62c06f2

Please sign in to comment.