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
12 lines
334 B
Ruby
12 lines
334 B
Ruby
Shindo.tests('Fog::Compute[:digitalocean] | servers collection', ['digitalocean']) do
|
|
service = Fog::Compute[:digitalocean]
|
|
|
|
options = {
|
|
:name => "#{fog_server_name}-#{Time.now.to_i.to_s}"
|
|
}.merge fog_test_server_attributes
|
|
|
|
collection_tests(service.servers, options, true) do
|
|
@instance.wait_for { ready? }
|
|
end
|
|
|
|
end
|