Sha256: 280304a14887d9a76d3fe2eebaeefab177c3cc8f496e5f0dfaf299125e77a7aa

Contents?: true

Size: 511 Bytes

Versions: 6

Compression:

Stored size: 511 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 'gemplate'

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

6 entries across 6 versions & 1 rubygems

Version Path
gemplate-2.0.4 spec/spec_helper.rb
gemplate-2.0.3 spec/spec_helper.rb
gemplate-2.0.2 spec/spec_helper.rb
gemplate-2.0.0 spec/spec_helper.rb
gemplate-1.1.2 spec/spec_helper.rb
gemplate-1.1.1 spec/spec_helper.rb