Revision 6af5feed
Added by Ewoud Kohl van Wijngaarden about 5 years ago
test/models/compute_resources/vmware_test.rb | ||
---|---|---|
args = default_args.merge(
|
||
user_data: "---\n{}"
|
||
)
|
||
Fog::Compute::Vsphere::Real.any_instance.expects(:cloudinit_to_customspec).never
|
||
Fog::Vsphere::Compute::Real.any_instance.expects(:cloudinit_to_customspec).never
|
||
cr.send(:client).stubs(:vm_clone).returns({'new_vm' => {'id' => 123}})
|
||
cr.clone_vm(args)
|
||
end
|
Also available in: Unified diff
Refs #26423 - Fix fog-vsphere references in tests
8b05fa95168456fb7193bf4303bc1eb2b2136671 updated fog-vsphere to 3.0, but
missed these references.