Sha256: 76d78bc4a089479df730445c5ddc5bcfea2c54e17a0d963af90a54903b400b35

Contents?: true

Size: 336 Bytes

Versions: 10

Compression:

Stored size: 336 Bytes

Contents

require 'vcr'

VCR.configure do |c|
  c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
  c.ignore_localhost = true
  c.hook_into :webmock
  c.default_cassette_options = { :record => :once }
end

def vcr(name, &block)
  VCR.use_cassette(name, &block)
end

def expect_vcr(name, &block)
  expect{ VCR.use_cassette(name, &block) }
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
contentful-0.3.4 spec/support/vcr.rb
contentful-0.3.3 spec/support/vcr.rb
contentful-0.3.2 spec/support/vcr.rb
contentful-0.3.1 spec/support/vcr.rb
contentful-0.3.0 spec/support/vcr.rb
contentful-0.2.0 spec/support/vcr.rb
contentful-0.1.3 spec/support/vcr.rb
contentful-0.1.2 spec/support/vcr.rb
contentful-0.1.1 spec/support/vcr.rb
contentful-0.1.0 spec/support/vcr.rb