Sha256: 7a1f38d7bfc720eb9e71f9ff67c269743278be15ad2855c4719bea3f29091365
Contents?: true
Size: 665 Bytes
Versions: 3
Compression:
Stored size: 665 Bytes
Contents
if ENV['CI'] == 'true' require 'simplecov' require 'codecov' SimpleCov.formatter = SimpleCov::Formatter::Codecov SimpleCov.start do add_filter '/spec/' end end require 'rspec' require 'targit' require 'webmock' WebMock.enable! unless File.exist? 'spec/.creds' File.open('spec/.creds', 'w') do |fh| fh << "---\ntargit: sekritkey\n" end end require 'vcr' VCR.configure do |c| c.cassette_library_dir = 'spec/fixtures/cassettes' c.hook_into :webmock c.before_record do |i| i.request.headers.delete 'Authorization' %w[Etag X-Github-Request-Id X-Served-By].each do |header| i.response.headers.delete header end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
targit-2.2.0 | spec/spec_helper.rb |
targit-2.1.0 | spec/spec_helper.rb |
targit-2.0.2 | spec/spec_helper.rb |