Skip to content

Commit

Permalink
Add tenant to openstack instance factory so that tests match reality
Browse files Browse the repository at this point in the history
  • Loading branch information
mansam committed Jan 9, 2017
1 parent 2ef53fa commit e8493a0
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 e8493a0

Please sign in to comment.