Sha256: 76d6e3bd908dfc265ac3f6fb7a4e1149200cff99404691ac1e7f79f8c5ce7d4c
Contents?: true
Size: 729 Bytes
Versions: 2
Compression:
Stored size: 729 Bytes
Contents
require 'simplecov' SimpleCov.start require 'rubygems' require 'bundler/setup' require 'webmock/rspec' require 'vcr' require "net/https" require "uri" #gem require 'pin_up' RSpec.configure do |config| config.include WebMock::API config.treat_symbols_as_metadata_keys_with_true_values = true config.around(:each, :vcr) do |example| name = example.metadata[:full_description].split(/\s+/, 2).join("/").gsub(/[^\w\/]+/, "_") # options = example.metadata.slice(:record, :match_requests_on).except(:example_group) VCR.use_cassette(name) { example.call } end end VCR.configure do |c| c.cassette_library_dir = "spec/vcr" c.hook_into :webmock c.filter_sensitive_data('<key>') {'W_VrFld7oc9BnC4pOdQxmw'} end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pin_up-0.2.0 | spec/spec_helper.rb |
pin_up-0.1.0 | spec/spec_helper.rb |