Sha256: 9b4a055751660b74a973bad49a2758ab5c975204f17817a20d924a21bf57092d

Contents?: true

Size: 304 Bytes

Versions: 65

Compression:

Stored size: 304 Bytes

Contents

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

Version data entries

65 entries across 65 versions & 6 rubygems

Version Path
fog-1.22.0 tests/core/wait_for_tests.rb
fog-1.21.0 tests/core/wait_for_tests.rb
fog-maestrodev-1.20.0.20140305101839 tests/core/wait_for_tests.rb
fog-maestrodev-1.20.0.20140305101305 tests/core/wait_for_tests.rb
fog-maestrodev-1.19.0.20140212012611 tests/core/wait_for_tests.rb
fog-1.20.0 tests/core/wait_for_tests.rb
fog-maestrodev-1.19.0.20140110004459 tests/core/wait_for_tests.rb
fog-maestrodev-1.19.0.20140110003812 tests/core/wait_for_tests.rb
fog-maestrodev-1.19.0.20140109202555 tests/core/wait_for_tests.rb
fog-maestrodev-1.19.0.20140107192102 tests/core/wait_for_tests.rb
fog-maestrodev-1.19.0.20140107142106 tests/core/wait_for_tests.rb
fog-maestrodev-1.19.0.20131219203941 tests/core/wait_for_tests.rb
fog-maestrodev-1.18.0.20131219193542 tests/core/wait_for_tests.rb
fog-1.19.0 tests/core/wait_for_tests.rb
fog-maestrodev-1.18.0.20131219033443 tests/core/wait_for_tests.rb
fog-maestrodev-1.18.0.20131219032002 tests/core/wait_for_tests.rb
fog-maestrodev-1.18.0.20131219030716 tests/core/wait_for_tests.rb
fog-maestrodev-1.18.0.20131219022322 tests/core/wait_for_tests.rb
fog-maestrodev-1.18.0.20131218202447 tests/core/wait_for_tests.rb
fog-maestrodev-1.18.0.20131209091424 tests/core/wait_for_tests.rb