spec/spec_helper.rb in PageRankr-3.2.1 vs spec/spec_helper.rb in PageRankr-4.0.0
- old
+ new
@@ -3,10 +3,22 @@
require 'fuubar'
require 'vcr'
VCR.configure do |c|
c.cassette_library_dir = './spec/fixtures/vcr_cassettes'
- c.hook_into :typhoeus
+ c.hook_into :fakeweb
+ c.default_cassette_options = {
+ :record => :once,
+ :match_requests_on => [
+ :method,
+ VCR.request_matchers.uri_without_param(
+ :cli,
+ :dat,
+ :client,
+ :features
+ )
+ ]
+ }
end
RSpec.configure do |c|
c.formatter = Fuubar
c.color_enabled = true