Sha256: 4c6eb03de67acd7d5626cc56790f56f3a8d95a0f390493d5f18b403c15f39e6a

Contents?: true

Size: 667 Bytes

Versions: 2

Compression:

Stored size: 667 Bytes

Contents

########## Coveralls ##########

require 'coveralls'
Coveralls.wear! #  Load this ffirst before the tested library

########## Usual things ##########

require 'rspec/collection_matchers'

require 'pry'
require 'bnet'
require 'vcr'
require 'ostruct'
require 'secrets_and_all_that'

VCR.configure do |vcr|
  vcr.cassette_library_dir = 'fixtures/cassettes'
  vcr.default_cassette_options = {record: :once}
  vcr.configure_rspec_metadata!
  vcr.hook_into :webmock
end

RSpec.configure do |config|
  config.color = true
  config.tty = true
  config.failure_color = :magenta

  config.before(:example) do
    Bnet.configuration.api_key = VCR::SECRETS["api_key"]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bnet-0.0.10 spec/spec_helper.rb
bnet-0.0.5 spec/spec_helper.rb