Sha256: 9dac35a0c41e0229a514a1d1b992b628733efab089883a133b646904c247871f

Contents?: true

Size: 596 Bytes

Versions: 10

Compression:

Stored size: 596 Bytes

Contents

require 'simplecov'
require 'coveralls'

SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do
  add_filter '/spec/'
end

require 'rspec'
require 'targit'

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

10 entries across 10 versions & 1 rubygems

Version Path
targit-1.1.0 spec/spec_helper.rb
targit-1.0.1 spec/spec_helper.rb
targit-1.0.0 spec/spec_helper.rb
targit-0.2.0 spec/spec_helper.rb
targit-0.1.5 spec/spec_helper.rb
targit-0.1.4 spec/spec_helper.rb
targit-0.1.3 spec/spec_helper.rb
targit-0.1.2 spec/spec_helper.rb
targit-0.1.1 spec/spec_helper.rb
targit-0.1.0 spec/spec_helper.rb