mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
13 lines
342 B
Ruby
13 lines
342 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-test-server'
|
|
end
|
|
|
|
end
|
|
|
|
end
|