mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
dc6e78d6bd
* Handle case where droplet is locked pending events, DO support says they are planning to expose something in the api to show these events. Until then this is the best we have. * Whitespace cleanup * Refactor test helpers * Use the collection helper for the digitalocean servers collection
13 lines
340 B
Ruby
13 lines
340 B
Ruby
Shindo.tests('Fog::Compute[:digitalocean] | get_server_details request', ['digitalocean', 'compute']) do
|
|
|
|
tests('success') do
|
|
|
|
test('#get_server_details') do
|
|
server = fog_test_server
|
|
body = Fog::Compute[:digitalocean].get_server_details(server.id).body
|
|
body['droplet']['name'] == fog_server_name
|
|
end
|
|
|
|
end
|
|
|
|
end
|