1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/digitalocean/requests/compute/reboot_server_tests.rb
Sergio Rubio 7ee38ee2f6 [digitalocean|compute] Improved tests reliability
Better handling of power state related tests
2013-03-31 22:16:13 +02:00

14 lines
285 B
Ruby

Shindo.tests('Fog::Compute[:digitalocean] | reboot_server request', ['digitalocean', 'compute']) do
server = fog_test_server
tests('success') do
tests('#reboot_server').succeeds do
service.reboot_server(server.id).body['status'] == 'OK'
end
end
end