diff --git a/spec/factories/vm_openstack.rb b/spec/factories/vm_openstack.rb index ec3528dd084..0a79f69a166 100644 --- a/spec/factories/vm_openstack.rb +++ b/spec/factories/vm_openstack.rb @@ -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