Sha256: 7c928750a3f0f0badf2ee131aca0f5f02a13a4b4c766a3b5bf2a568dd79f3bb0

Contents?: true

Size: 980 Bytes

Versions: 5

Compression:

Stored size: 980 Bytes

Contents

# Configure Rails Environment
ENV["RAILS_ENV"] = "test"

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"

require 'vcr'
require 'webmock'
require 'minitest-vcr'

Rails.backtrace_cleaner.remove_silencers!

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

# Load fixtures from the engine
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
  ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
end

require 'umlaut/test_help'
include Umlaut::TestHelp

VCR.configure do |c|
  c.cassette_library_dir = 'test/vcr_cassettes'
  c.hook_into :webmock # or :fakeweb

  # BD API requests tend to have their distinguishing
  # features in a POSTed JSON request body
  c.default_cassette_options = { :match_requests_on => [:method, :uri, :body] }
end

MinitestVcr::Spec.configure!

VCRFilter.sensitive_data! :bd_library_symbol
VCRFilter.sensitive_data! :bd_patron

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
umlaut_borrow_direct-1.0.1 test/test_helper.rb
umlaut_borrow_direct-1.0.0 test/test_helper.rb
umlaut_borrow_direct-1.0.0.pre3 test/test_helper.rb
umlaut_borrow_direct-1.0.0.pre2 test/test_helper.rb
umlaut_borrow_direct-1.0.0.pre.alpha.1 test/test_helper.rb