lib/fog/cloudstack/requests/compute/reboot_virtual_machine.rb in fog-1.3.1 vs lib/fog/cloudstack/requests/compute/reboot_virtual_machine.rb in fog-1.4.0
- old
+ new
@@ -13,8 +13,19 @@
request(options)
end
end
+
+ class Mock
+ def reboot_virtual_machine(options={})
+ job_id = Fog::Cloudstack.uuid
+ {
+ "rebootvirtualmachineresponse" => {
+ "jobid" => job_id
+ }
+ }
+ end
+ end
end
end
end