1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/core/wait_for_tests.rb
Paul Thornthwaite ef9a9697ab Remove trailing whitespace
Done with `rubocop --auto-correct --only TrailingWhitespace`
2014-05-26 14:44:18 +01:00

13 lines
302 B
Ruby

Shindo.tests('Fog#wait_for', 'core') do
tests("success") do
tests('Fog#wait_for').formats(:duration => Integer) do
Fog.wait_for(1) { true }
end
end
tests("failure") do
tests('Fog#wait_for').raises(Fog::Errors::TimeoutError) do
Fog.wait_for(2) { false }
end
end
end