Sha256: 9d8ea96ae5825a25db1139af9b961c7d57f12402db56cb49049b48784a4efbc4

Contents?: true

Size: 302 Bytes

Versions: 43

Compression:

Stored size: 302 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

43 entries across 41 versions & 6 rubygems

Version Path
fog-1.33.0 tests/core/wait_for_tests.rb
fog-1.32.0 tests/core/wait_for_tests.rb
fog-1.31.0 tests/core/wait_for_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/core/wait_for_tests.rb
fog-1.30.0 tests/core/wait_for_tests.rb
fog-1.29.0 tests/core/wait_for_tests.rb
fog-1.28.0 tests/core/wait_for_tests.rb
fog-1.27.0 tests/core/wait_for_tests.rb
fog-1.26.0 tests/core/wait_for_tests.rb
fog-1.25.0 tests/core/wait_for_tests.rb
nsidc-fog-1.24.1 tests/core/wait_for_tests.rb
fog-1.24.0 tests/core/wait_for_tests.rb
ns-fog-1.22.11 tests/core/wait_for_tests.rb
ns-fog-1.22.10 tests/core/wait_for_tests.rb
ns-fog-1.22.9 tests/core/wait_for_tests.rb
ns-fog-1.22.8 tests/core/wait_for_tests.rb
ns-fog-1.22.7 tests/core/wait_for_tests.rb
ns-fog-1.22.6 tests/core/wait_for_tests.rb
fog-1.23.0 tests/core/wait_for_tests.rb
ns-fog-1.22.4 tests/core/wait_for_tests.rb