Sha256: 32b0ff06a2782bba04ae010fb1fdc787c7fa439e58cef19457dc1ecdd472b9a0

Contents?: true

Size: 290 Bytes

Versions: 8

Compression:

Stored size: 290 Bytes

Contents

with_rackup('timeout.ru') do
  Shindo.tests('read should timeout') do
    connection = Excon.new('http://127.0.0.1:9292')

    tests('hits read_timeout').raises(Excon::Errors::Timeout) do
      connection.request(:method => :get, :path => '/timeout', :read_timeout => 0)
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
excon-0.15.4 tests/timeout_tests.rb
excon-0.15.3 tests/timeout_tests.rb
excon-0.15.2 tests/timeout_tests.rb
excon-0.15.1 tests/timeout_tests.rb
excon-0.15.0 tests/timeout_tests.rb
excon-0.14.3 tests/timeout_tests.rb
excon-0.14.2 tests/timeout_tests.rb
excon-0.14.1 tests/timeout_tests.rb