Clear cached webmock response in HTTPClient instance. #199

Merged
merged 1 commit into from Aug 14, 2012
Commits on Aug 7, 2012
  1. Clear cached webmock response in HTTPClient instance.

    myronmarston committed Aug 7, 2012
    When the a request was not stubbed, the `nil` value of the webmock response was
    being cached in the `webmock_responses` hash. Then, when a second request was 
    made with the same HTTPClient instance and an identical signature, it was not 
    checking for a stub again, even though there may have been one for the second request (e.g. when using a global stub hook or if another stub is registered between the 1st and 2nd requests).
    
    Fixes myronmarston/vcr#190.