Sha256: f7c749ac8c63300a62640e1d88815d7974eab9aac9989f76fd6e6b1c78b7d299

Contents?: true

Size: 803 Bytes

Versions: 1

Compression:

Stored size: 803 Bytes

Contents

require 'vcr'
# VCR records HTTP interactions to cassettes that can be replayed during unit tests
# allowing for faster, more predictible web interactions
VCR.configure do |c|
  # This is where the various cassettes will be recorded to
  c.cassette_library_dir = 'test/fixtures/vcr_cassettes'
  c.hook_into :webmock

  # To avoid storing plain text VSAC credentials or requiring the VSAC credentials
  # be provided at every run of the rake tests, provide the VSAC_API_KEY
  # whenever you need to record a cassette that requires valid credentials
  ENV['VSAC_API_KEY'] = "vcrpass" unless ENV['VSAC_API_KEY']

  # Ensure plain text passwords do not show up during logging
  c.filter_sensitive_data('<VSAC_API_KEY>') {URI.escape(ENV['VSAC_API_KEY'])}
  c.default_cassette_options = {record: :once }

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bonnie_bundler-3.0.0 test/vcr_setup.rb