mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
13 lines
306 B
Ruby
13 lines
306 B
Ruby
Shindo.tests('Fog::Compute[:digitalocean] | destroy_server request', ['digitalocean', 'compute']) do
|
|
|
|
service = Fog::Compute[:digitalocean]
|
|
server = fog_test_server
|
|
|
|
tests('success') do
|
|
|
|
test('#destroy_server') do
|
|
service.destroy_server(server.id).body['status'] == 'OK'
|
|
end
|
|
|
|
end
|
|
end
|