Sha256: 7798d10db2745abfc6fd84f435570acf96af6bf2dec02bb8246081ebc96b23b3

Contents?: true

Size: 763 Bytes

Versions: 1

Compression:

Stored size: 763 Bytes

Contents

require 'coveralls'
Coveralls.wear!

require "beeper"
require "mocha/api"
require "vcr"

require "credentials"

RSpec.configure do |config|
  config.extend VCR::RSpec::Macros

  # Use color in STDOUT
  config.color_enabled = true

  # Use color not only in STDOUT but also in pagers and files
  config.tty = true

  # Use the specified formatter
  config.formatter = :documentation # :progress, :html, :textmate

  config.mock_framework = :mocha
end

VCR.configure do |c|
  c.cassette_library_dir = 'spec/cassettes'
  c.hook_into :faraday, :webmock

  # Add sensitive fields here
  # Constants in Etsy::Test will be auto filtered
  Beeper::Test.constants.reverse.each do |const|
    c.filter_sensitive_data(const.to_s) { Beeper::Test.const_get(const) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beeper-0.1.0 spec/spec_helper.rb