frankfurter/spec/helper.rb

25 lines
425 B
Ruby
Raw Normal View History

# frozen_string_literal: true
ENV['APP_ENV'] ||= 'test'
2019-11-22 15:56:04 +01:00
# Keep SimpleCov at top.
require 'simplecov'
SimpleCov.start do
add_filter '/spec/'
end
require_relative '../config/environment'
require 'minitest/autorun'
require 'minitest/around/spec'
require 'minitest/focus'
require 'pry-byebug'
require 'vcr'
require 'webmock'
VCR.configure do |c|
c.cassette_library_dir = 'spec/vcr_cassettes'
c.hook_into :webmock
end