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

Version Path
utensils-0.0.16 lib/utensils/vcr.rb
utensils-0.0.15 lib/utensils/vcr.rb
utensils-0.0.14 lib/utensils/vcr.rb
utensils-0.0.13 lib/utensils/vcr.rb
utensils-0.0.12 lib/utensils/vcr.rb
utensils-0.0.11 lib/utensils/vcr.rb
utensils-0.0.10 lib/utensils/vcr.rb
utensils-0.0.9 lib/utensils/vcr.rb
utensils-0.0.8 lib/utensils/vcr.rb
utensils-0.0.7 lib/utensils/vcr.rb
utensils-0.0.6 lib/utensils/vcr.rb
utensils-0.0.5 lib/utensils/vcr.rb
utensils-0.0.4 lib/utensils/vcr.rb
utensils-0.0.3 lib/utensils/vcr.rb
utensils-0.0.2 lib/utensils/vcr.rb
utensils-0.0.1 lib/utensils/vcr.rb