Sha256: 5f35577fe6e5ab653dfb333406620d63bc73cd6c810c8c18991e4cd9a1b46b0d

Contents?: true

Size: 332 Bytes

Versions: 7

Compression:

Stored size: 332 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

7 entries across 7 versions & 1 rubygems

Version Path
contentful-importer-0.2.2 spec/support/vcr.rb
contentful-importer-0.2.1 spec/support/vcr.rb
contentful-importer-0.2.0 spec/support/vcr.rb
contentful-importer-0.1.1 spec/support/vcr.rb
contentful-importer-0.1.0 spec/support/vcr.rb
contentful-importer-0.0.2 spec/support/vcr.rb
contentful-importer-0.0.1 spec/support/vcr.rb