Sha256: 85c1faba04dae18d23db79c764ab98c9ea5fc7a565ff058c0e78292c345b5a59
Contents?: true
Size: 585 Bytes
Versions: 16
Compression:
Stored size: 585 Bytes
Contents
require 'webmock/rspec' VCR.configure do |config| config.cassette_library_dir = 'spec/fixtures/cassettes' config.hook_into :webmock config.default_cassette_options = {:record => :new_episodes, :preserve_exact_body_bytes => true} config.ignore_localhost = true end RSpec.configure do |config| config.extend VCR::RSpec::Macros config.treat_symbols_as_metadata_keys_with_true_values = true config.around(:each, :allow_http) do |example| name = example.metadata[:full_description].underscore.gsub(/[^\w\/]+/, "_") VCR.use_cassette(name) { example.call } end end
Version data entries
16 entries across 16 versions & 1 rubygems