Sha256: 3e2b70505bbaa1427cb0748b0da207940d24ccf9978cefc733a09b5bdeda7362

Contents?: true

Size: 546 Bytes

Versions: 1

Compression:

Stored size: 546 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 'webmock'

WebMock.enable!

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

1 entries across 1 versions & 1 rubygems

Version Path
gemplate-2.0.6 spec/spec_helper.rb