Sha256: 5a68af39ea1abc5b4031e3420d28f7f02336ffa760ed6ecdff3558e682f2ba0a

Contents?: true

Size: 439 Bytes

Versions: 3

Compression:

Stored size: 439 Bytes

Contents

require 'rubygems'

require 'coveralls'
Coveralls.wear!

require 'multi_xml'
require 'nokogiri'
require 'redis-store'
require 'rspec'
require 'vcr'
require File.dirname(__FILE__) + '/../lib/pupa'

VCR.configure do |c|
  c.cassette_library_dir = 'spec/cassettes'
  c.hook_into :faraday

  c.around_http_request do |request|
    VCR.use_cassette(Digest::SHA1.hexdigest(request.uri + request.body + request.headers.to_s), &request)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pupa-0.0.11 spec/spec_helper.rb
pupa-0.0.10 spec/spec_helper.rb
pupa-0.0.9 spec/spec_helper.rb