Sha256: 269c904c5c6413bde0440068be7748a96cf91126532c4f663affb7054e87ab76

Contents?: true

Size: 1 KB

Versions: 1

Compression:

Stored size: 1 KB

Contents

require 'coveralls'
Coveralls.wear!
# Configure Rails Environment
ENV["RAILS_ENV"] = "test"
require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
Rails.backtrace_cleaner.remove_silencers!
# Complete stack trace with deprecation warnings from rails
ActiveSupport::Deprecation.debug = true

# VCR is used to 'record' HTTP interactions with
# third party services used in tests, and play em
# back. Useful for efficiency, also useful for
# testing code against API's that not everyone
# has access to -- the responses can be cached
# and re-used.
require 'vcr'
require 'webmock'

VCR.configure do |c|
  c.cassette_library_dir = 'test/vcr_cassettes'
  # webmock needed for HTTPClient testing
  c.hook_into :webmock
  # c.debug_logger = $stderr
  c.filter_sensitive_data("primo.library.edu") { "bobcat.library.nyu.edu" }
  c.filter_sensitive_data("LIB01") { "NYU01" }
end

# Use pry for debugging
require 'pry'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
umlaut-primo-1.0.0 test/test_helper.rb