Sha256: 964887c086b01f1fbfe6c47bc4c5b6790ae66c2866c2325501876ddaa6a059a4
Contents?: true
Size: 599 Bytes
Versions: 4
Compression:
Stored size: 599 Bytes
Contents
Feature: Supports the timeout option In order to handle inappropriately slow response times As a developer I want my request to raise an exception after my specified 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 '/service.html' And that service takes 2 seconds to generate a response When I set my HTTParty timeout option to 1 And I call HTTParty#get with '/service.html' Then it should raise a Timeout::Error exception And I wait for the server to recover
Version data entries
4 entries across 4 versions & 2 rubygems