Sha256: 6885640c182c859ca9de0f24fecb44fa016df14a164f1340716fa6a5609e2ba8

Contents?: true

Size: 378 Bytes

Versions: 7

Compression:

Stored size: 378 Bytes

Contents

require 'rubygems'

require 'coveralls'
Coveralls.wear!

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

7 entries across 7 versions & 1 rubygems

Version Path
pupa-0.0.7 spec/spec_helper.rb
pupa-0.0.6 spec/spec_helper.rb
pupa-0.0.5 spec/spec_helper.rb
pupa-0.0.4 spec/spec_helper.rb
pupa-0.0.3 spec/spec_helper.rb
pupa-0.0.2 spec/spec_helper.rb
pupa-0.0.1 spec/spec_helper.rb