Sha256: 9a836cc00269a0b859e1ee46212fce2a60748fea3e5819f7d7c24c43f23239e3

Contents?: true

Size: 421 Bytes

Versions: 1

Compression:

Stored size: 421 Bytes

Contents

require 'vcr'

real_requests = ENV['VCR_ALLOW_ACTUAL_REQUESTS']

VCR.configure do |c|
  c.allow_http_connections_when_no_cassette = true if real_requests
  c.cassette_library_dir = 'spec/vcr_cassettes'
  c.configure_rspec_metadata!
  c.default_cassette_options = { record: :new_episodes }
  c.hook_into :webmock
end

RSpec.configure do |config|
  config.before(:each) do
    VCR.eject_cassette
  end if real_requests
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gman_client-0.0.7 spec/support/vcr.rb