technoweenie/faraday — Issue #91: Improve documentation for `stub_with` and :faraday
Author: dkastner
Created: 2011-10-19 20:45:33+00:00
State: open

I'm using Faraday to access a web service. Naturally, I would have expected to just do:

VCR.config do |c|
c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
c.stub_with :faraday
end

But in order to get any cassettes to save I needed to do:

VCR.config do |c|
c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
c.stub_with :fakeweb, :faraday
end