Sha256: d6e2d48feb492df4f1894017bfd7f366dcf4f08d0451cbcaac81ecc0bfcd15a3

Contents?: true

Size: 799 Bytes

Versions: 1

Compression:

Stored size: 799 Bytes

Contents

$:.unshift File.expand_path('..', __FILE__)
$:.unshift File.expand_path('../../lib', __FILE__)
require 'simplecov'
SimpleCov.start
require 'iprofiler'
require 'rspec'
require 'webmock/rspec'
require 'vcr'

VCR.configure do |c|
  c.register_request_matcher(:uri_without_epoch_and_signature, 
   &VCR.request_matchers.uri_without_param(:epoch, :signature))
  c.cassette_library_dir     = File.join("./", "fixtures", "cassette_library")
  c.hook_into                :webmock # or :fakeweb
  c.ignore_localhost         = false
  c.default_cassette_options = { :match_requests_on => [:method, :uri_without_epoch_and_signature]}
  c.configure_rspec_metadata!
  # c.default_cassette_options = { :record => :none }
end


RSpec.configure do |c|
  c.treat_symbols_as_metadata_keys_with_true_values = true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
iprofiler-0.1.3 spec/helper.rb