Sha256: b5f62e223c8f796b5a941d0a1c5ca6a841653adf1b681d9ed4f9bbcf8c42f3e2
Contents?: true
Size: 1.07 KB
Versions: 3
Compression:
Stored size: 1.07 KB
Contents
@httpclient Feature: HTTPClient In order to have deterministic, fast tests that do not depend on an internet connection As a TDD/BDD developer I want VCR to work with asynchronous HTTPClient requests Scenario: Record an asynchronous request Given we do not have a "temp/asynchronous" cassette When I make an asynchronous HTTPClient get request to "http://example.com" while using the "temp/asynchronous" cassette Then the "temp/asynchronous" library file should have a response for "http://example.com" that matches /You have reached this web page by typing.*example\.com/ @copy_not_the_real_response_to_temp Scenario: Replay a response for an asynchronous request Given the "temp/not_the_real_response" library file has a response for "http://example.com" that matches /This is not the real response from example\.com/ When I make an asynchronous HTTPClient get request to "http://example.com" while using the "temp/not_the_real_response" cassette Then the response for "http://example.com" should match /This is not the real response from example\.com/
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vcr-1.3.1 | features/http_client.feature |
vcr-1.3.0 | features/http_client.feature |
vcr-1.2.0 | features/http_client.feature |