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