Sha256: fc6ba2ea1c14192ddc97860386f7d812d0377c67386a4180efd149b8d51d0a11

Contents?: true

Size: 509 Bytes

Versions: 13

Compression:

Stored size: 509 Bytes

Contents

require 'rspec'
require 'targit'
require 'webmock/rspec'
require 'vcr'

unless File.exist? 'spec/.creds'
  File.open('spec/.creds', 'w') do |fh|
    fh << "---\ntargit: sekritkey\n"
  end
end

VCR.configure do |c|
  c.configure_rspec_metadata!
  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

13 entries across 13 versions & 1 rubygems

Version Path
targit-2.5.2 spec/spec_helper.rb
targit-2.5.1 spec/spec_helper.rb
targit-2.5.0 spec/spec_helper.rb
targit-2.4.8 spec/spec_helper.rb
targit-2.4.7 spec/spec_helper.rb
targit-2.4.6 spec/spec_helper.rb
targit-2.4.5 spec/spec_helper.rb
targit-2.4.4 spec/spec_helper.rb
targit-2.4.3 spec/spec_helper.rb
targit-2.4.2 spec/spec_helper.rb
targit-2.4.1 spec/spec_helper.rb
targit-2.4.0 spec/spec_helper.rb
targit-2.3.0 spec/spec_helper.rb