Sha256: 697fd4cf23cadcd655b022f12b9ae611b46382b79d0899b6332e2cf2a0cfd031

Contents?: true

Size: 562 Bytes

Versions: 4

Compression:

Stored size: 562 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)

require 'pingo'
require 'rspec'
require 'webmock/rspec'
require 'vcr'
require 'support/env_macros'

RSpec.configure do |c|
  c.include ENVMacros
  c.around(:each, :vcr) do |example|
    name = example.metadata[:full_description].split(/\s+/, 2).join("/").underscore.gsub(/[^\w\/]+/, "_")
    VCR.use_cassette(name) { example.call }
  end
end

VCR.configure do |c|
  c.cassette_library_dir = 'spec/fixtures/cassette_library'
  c.hook_into :webmock
  c.allow_http_connections_when_no_cassette = true
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pingo-1.1.0 spec/spec_helper.rb
pingo-1.0.0 spec/spec_helper.rb
pingo-0.0.3 spec/spec_helper.rb
pingo-0.0.2 spec/spec_helper.rb