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/destroy_server_tests.rb

16 lines
314 B
Ruby
Raw Normal View History

2013-02-26 21:11:45 +01:00
Shindo.tests('Fog::Compute[:digitalocean] | destroy_server request', ['digitalocean', 'compute']) do
service = Fog::Compute[:digitalocean]
2013-02-26 21:11:45 +01:00
server = fog_test_server
tests('success') do
2013-02-26 21:11:45 +01:00
test('#destroy_server') do
service.destroy_server(server.id).body['status'] == 'OK'
end
end
end