Sha256: a3579ebfb91467f151bd68e9749ced3711a958a20ea0d6732df3a9ddc2baacc4

Contents?: true

Size: 284 Bytes

Versions: 6

Compression:

Stored size: 284 Bytes

Contents

require "vcr"

def vcr_record_mode
  if ENV["VCR_RECORD"] == "1"
    :new_episodes
  else
    :none
  end
end

VCR.configure do |c|
  c.cassette_library_dir = "#{RSPEC_ROOT}/fixtures/vcr_cassettes"
  c.hook_into :webmock
  c.default_cassette_options = { record: vcr_record_mode }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hubspot-ruby-0.9.0 spec/support/vcr.rb
hubspot-ruby-0.8.1 spec/support/vcr.rb
hubspot-ruby-0.8.0 spec/support/vcr.rb
hubspot-ruby-0.7.0 spec/support/vcr.rb
hubspot-ruby-0.6.1 spec/support/vcr.rb
hubspot-ruby-0.6.0 spec/support/vcr.rb