Sha256: 65ed7d736d23c546972ad8135d0bcfdeba999edfe9eef6713fd3ae86e1677bf9

Contents?: true

Size: 947 Bytes

Versions: 10

Compression:

Stored size: 947 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_USERNAME and VSAC_PASSWORD
  # whenever you need to record a cassette that requires valid credentials
  ENV['VSAC_USERNAME'] = "vcrtest" unless ENV['VSAC_USERNAME']
  ENV['VSAC_PASSWORD'] = "vcrpass" unless ENV['VSAC_PASSWORD']

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

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
bonnie_bundler-2.2.3 test/vcr_setup.rb
bonnie_bundler-2.2.1 test/vcr_setup.rb
bonnie_bundler-2.2.0 test/vcr_setup.rb
bonnie_bundler-2.1.2 test/vcr_setup.rb
bonnie_bundler-2.1.1 test/vcr_setup.rb
bonnie_bundler-2.1.0 test/vcr_setup.rb
bonnie_bundler-2.0.3 test/vcr_setup.rb
bonnie_bundler-2.0.2 test/vcr_setup.rb
bonnie_bundler-2.0.1 test/vcr_setup.rb
bonnie_bundler-2.0.0 test/vcr_setup.rb