On Nov 9, 12:40 pm, Karl <karl.b...
> Many of my existing cucumber features already make http requests and
> although i would like to eventually refactor them, for now they work.
> The problem is that when i try to use vcr on just one test within my
> suite, vcr breaks the other tests with: "Real HTTP connections are
> Any way to use vcr selectively?
Excellent question. There are ways of doing this, but it's not well
documented or supported yet. There's a discussion on github about
an API that would explicitly allow this. Can you stop by and give
your feedback about how this should work?
In the meantime, you can try this:
VCR.http_stubbing_adapter.http_connections_allowed = true
Put this after your VCR.config block, and it should do the trick.
Note that this is not a documented, supported public API of VCR, so it
is subject to change (especially later on when we do add a document
public API for this). Use with care.