1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/vsphere/requests/compute
Jeff McCune dd9e132de5 Fix vm clone problem when a Guid instance is passed as the instance_uuid
Without this patch the vm_clone requiest would not find a Managed Object
Reference when a UUID that is not a string is passed as the
instance_uuid option.  This is a problem because an unhelpful "undefined
method `parent' for nil:NilClass" would be thrown to the application.

This patch throws a more helpful Fog::Compute::Vsphere::NotFound
exception if the Virtual Machine template is not found.

The tests have been updated to reflect this expectation.
2011-09-14 10:15:19 -07:00
..
current_time_tests.rb Refactor requests to return simple hashes and add unit tests 2011-09-10 15:11:18 -07:00
find_vm_by_ref_tests.rb Refactor requests to return simple hashes and add unit tests 2011-09-10 15:11:18 -07:00
list_virtual_machines_tests.rb Refactor requests to return simple hashes and add unit tests 2011-09-10 15:11:18 -07:00
vm_clone_tests.rb Fix vm clone problem when a Guid instance is passed as the instance_uuid 2011-09-14 10:15:19 -07:00
vm_destroy_tests.rb Refactor requests to return simple hashes and add unit tests 2011-09-10 15:11:18 -07:00
vm_power_off_tests.rb Refactor requests to return simple hashes and add unit tests 2011-09-10 15:11:18 -07:00
vm_power_on_tests.rb Refactor requests to return simple hashes and add unit tests 2011-09-10 15:11:18 -07:00
vm_reboot_tests.rb Refactor requests to return simple hashes and add unit tests 2011-09-10 15:11:18 -07:00