Sha256: d106e7e82ce2493b3d5df0fb661099755bc45f96d57be03461f37b5ff1a2a465

Contents?: true

Size: 726 Bytes

Versions: 3

Compression:

Stored size: 726 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
beeper-0.0.6 spec/spec_helper.rb
beeper-0.0.2 spec/spec_helper.rb
beeper-0.0.1 spec/spec_helper.rb