Sha256: bb8fa27be36640b298f82fe3d8af04307bd975feb0cc006f6e97fa2fc8749a3e
Contents?: true
Size: 640 Bytes
Versions: 42
Compression:
Stored size: 640 Bytes
Contents
Feature: Supports the read timeout option In order to handle inappropriately slow response times As a developer I want my request to raise an exception after my specified read_timeout as elapsed Scenario: A long running response Given a remote service that returns '<h1>Some HTML</h1>' And that service is accessed at the path '/long_running_service.html' And that service takes 2 seconds to generate a response When I set my HTTParty read_timeout option to 1 And I call HTTParty#get with '/long_running_service.html' Then it should raise a Timeout::Error exception And I wait for the server to recover
Version data entries
42 entries across 40 versions & 8 rubygems