Sha256: 17d737e76459455c1681c6a12dfe46fffc62c2a03b6fdff0d02e2c4e77dddb61

Contents?: true

Size: 440 Bytes

Versions: 5

Compression:

Stored size: 440 Bytes

Contents

require 'vcr'

VCR.configure do |c|
  c.cassette_library_dir  = File.expand_path('../../vcr', __FILE__)
  c.hook_into :fakeweb
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

5 entries across 5 versions & 1 rubygems

Version Path
fedex-3.0.0 spec/support/vcr.rb
fedex-2.2.2 spec/support/vcr.rb
fedex-2.2.1 spec/support/vcr.rb
fedex-2.2.0 spec/support/vcr.rb
fedex-2.0.1 spec/support/vcr.rb