spec/support/vcr.rb in fedex-3.0.0 vs spec/support/vcr.rb in fedex-3.1.0

- old
+ new

@@ -1,15 +1,15 @@ require 'vcr' VCR.configure do |c| c.cassette_library_dir = File.expand_path('../../vcr', __FILE__) - c.hook_into :fakeweb + 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 \ No newline at end of file +end