1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/helpers/compute/servers_helper.rb

12 lines
238 B
Ruby
Raw Normal View History

def servers_tests(connection, params = {}, mocks_implemented = true)
2010-11-12 02:01:18 -05:00
collection_tests(connection.servers, params, mocks_implemented) do
2010-11-16 14:47:05 -05:00
if !Fog.mocking? || mocks_implemented
@instance.wait_for { ready? }
end
2010-11-12 02:01:18 -05:00
end
end