Sha256: 23fdb06acbb4965452335cfe0f139db44add93385b00d927d8621eaea03e9936

Contents?: true

Size: 469 Bytes

Versions: 1

Compression:

Stored size: 469 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: :new_episodes
  }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
leadlight-0.0.2 spec/support/vcr.rb