Sha256: 874b41c2b1b3f24eac517c584280dd1ed0260b914f288a7026e371e508dbd06f

Contents?: true

Size: 437 Bytes

Versions: 6

Compression:

Stored size: 437 Bytes

Contents

require 'vcr'
require 'faraday'

# VCR config
VCR.configure do |c|
  c.cassette_library_dir = 'spec/fixtures/cassettes'
  c.hook_into :faraday
  c.ignore_hosts 'codeclimate.com'
  c.configure_rspec_metadata!
end

# Without this, VCR is unable to match a POST request with uploaded files
# https://github.com/lostisland/faraday/issues/772
Faraday.default_connection_options.request.boundary = "------------------RubyMultiPartPost".freeze

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
locomotivecms_wagon-3.0.0.rc0 spec/support/vcr.rb
locomotivecms_wagon-3.0.0.beta2 spec/support/vcr.rb
locomotivecms_wagon-2.4.1 spec/support/vcr.rb
locomotivecms_wagon-2.4.0 spec/support/vcr.rb
locomotivecms_wagon-2.4.0.rc2 spec/support/vcr.rb
locomotivecms_wagon-2.4.0.rc1 spec/support/vcr.rb