myronmarston/vcr — Issue #139: 2.0.0rc2 custom WebMocl.stub_http_request
Author: masterkain
Created: 2012-02-24 04:58:59+00:00
State: open

Hello,
in my rspec config.before(:suite) I was using this:

```
# Avoid Push messages going everywhere.
WebMock.stub_http_request(:any, /my.test.host/)
```

Since those http requests are rather frequent in my application I didn't want to put cassettes up any test, nor I want the external server be up, so I was manually telling WebMock to stub the request going to this particular host.

However when upgrading to 2.0.0rc2 this does not work anymore as it's trapped by VCR that raises the classic `VCR::Errors::UnhandledHTTPRequestError`.

I don't really want to ignore those requests, just stub them out, what are my options?