Sha256: 78c9d7b2a196784e8042640ae10820a0f17391c6b9bf12c97a1304b8742a17eb
Contents?: true
Size: 503 Bytes
Versions: 6
Compression:
Stored size: 503 Bytes
Contents
require 'vcr' VCR.configure do |c| c.hook_into :faraday c.cassette_library_dir = 'spec/cassettes' c.filter_sensitive_data('<AUTH FILTERED>') {|interaction| Array(interaction.request.headers['Authorization']).first } c.configure_rspec_metadata! c.ignore_request {|req| Addressable::URI.parse(req.uri).host == 'example.com' } c.default_cassette_options = { match_requests_on: [:method, :uri, :headers], record: ENV.fetch('VCR_RECORD'){ :new_episodes }.to_sym } end
Version data entries
6 entries across 6 versions & 1 rubygems