Sha256: 0d4e9752ee323d9eed2a32a8df0a2c20325367253568353f84a466e18cf7befc

Contents?: true

Size: 553 Bytes

Versions: 1

Compression:

Stored size: 553 Bytes

Contents

# encoding: UTF-8
require 'vcr'
require 'webmock/rspec'
require 'rack'

VCR.configure do |config|
  config.cassette_library_dir = 'spec/cassettes'
  config.default_cassette_options = { :record => :none }
  config.hook_into :webmock
  config.configure_rspec_metadata!

  config.filter_sensitive_data('%{API_KEY}') { CONTACTOLOGY_CONFIGURATION['key'] }
  config.filter_sensitive_data('%{API_ENDPOINT}') { CONTACTOLOGY_CONFIGURATION['endpoint'] }

  config.register_request_matcher(:api_uri, &VCR.request_matchers.uri_without_param(:newEmail, :email))
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
contactology-1.0.0 spec/support/vcr.rb