Sha256: a929b42b73cdc19fb27d8177e0e262551917c52986a31649547c554ab2bc4966

Contents?: true

Size: 441 Bytes

Versions: 6

Compression:

Stored size: 441 Bytes

Contents

require 'vcr'

VCR.configure do |c|
  c.cassette_library_dir  = File.expand_path('../../vcr', __FILE__)
  c.hook_into :webmock
end

RSpec.configure do |c|
  c.include Fedex::Helpers
  c.treat_symbols_as_metadata_keys_with_true_values = true
  c.around(:each, :vcr) do |example|
    name = underscorize(example.metadata[:full_description].split(/\s+/, 2).join("/")).gsub(/[^\w\/]+/, "_")
    VCR.use_cassette(name) { example.call }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fedex-3.6.1 spec/support/vcr.rb
fedex-3.6.0 spec/support/vcr.rb
fedex-3.4.0 spec/support/vcr.rb
fedex-3.3.1 spec/support/vcr.rb
fedex-3.3.0 spec/support/vcr.rb
fedex-3.1.0 spec/support/vcr.rb