Sha256: 79ebe4c926be9ca47f64ba0c196add06a7b6b8d494c27d57262da07b2dcbb417
Contents?: true
Size: 428 Bytes
Versions: 2
Compression:
Stored size: 428 Bytes
Contents
VCR.config do |c| c.cassette_library_dir = File.join(File.dirname(__FILE__), '..', '..', 'tmp', 'vcr') c.stub_with :webmock c.default_cassette_options = { :record => :new_episodes } end RSpec.configure do |c| c.treat_symbols_as_metadata_keys_with_true_values = true c.around(:each, :vcr) do |example| name = example.metadata[:full_description].gsub(/\s/, '_') VCR.use_cassette(name) { example.call } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
musicbrainz-0.5.2 | spec/support/vcr.rb |
musicbrainz-0.5.1 | spec/support/vcr.rb |