Sha256: 01f1b2212b87b6e4b497119073a71263c91eb9e387f97d4a14290c4841b1d4a9

Contents?: true

Size: 528 Bytes

Versions: 2

Compression:

Stored size: 528 Bytes

Contents

# VCR Config
require 'webmock/rspec'
require 'vcr'
FileUtils.mkdir("log") rescue nil
VCR.configure do |c|
  dir = File.expand_path("../../spec/fixtures", __FILE__)
  c.cassette_library_dir      = dir
  c.hook_into                 :webmock
  c.ignore_localhost          = false
  c.default_cassette_options  = {
    record: :new_episodes,
    match_requests_on: [:method, :body, :uri]
  }
  c.allow_http_connections_when_no_cassette = false
  c.debug_logger = File.open(File.expand_path("../../log/vcr.log", __FILE__), "w")
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspec_api_test-0.0.2 spec/vcr_setup.rb
rspec_api_test-0.0.1 spec/vcr_setup.rb