Sha256: b7b1148bcfd904484fd86a79f985a79f7ee559a15a6b9fcb2660b56402a8a9ba

Contents?: true

Size: 382 Bytes

Versions: 6

Compression:

Stored size: 382 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.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.10.11 spec/support/vcr.rb
fedex-3.10.1 spec/support/vcr.rb
fedex-3.10.0 spec/support/vcr.rb
fedex-3.9.1 spec/support/vcr.rb
fedex-3.9.0 spec/support/vcr.rb
fedex-3.8.0 spec/support/vcr.rb