2017-11-03 21:55:05 +01:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-07-05 21:19:37 +02:00
|
|
|
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
|
|
|
|
|
2018-03-08 02:05:19 +01:00
|
|
|
require_relative '../config/environment'
|
2017-11-03 21:55:05 +01:00
|
|
|
|
|
|
|
require 'minitest/autorun'
|
2018-03-08 02:05:19 +01:00
|
|
|
require 'minitest/around/spec'
|
2019-05-02 21:36:35 +02:00
|
|
|
require 'minitest/focus'
|
2021-04-25 18:46:58 +02:00
|
|
|
require 'pry-byebug'
|
2017-11-03 21:55:05 +01:00
|
|
|
require 'vcr'
|
|
|
|
require 'webmock'
|
|
|
|
|
|
|
|
VCR.configure do |c|
|
|
|
|
c.cassette_library_dir = 'spec/vcr_cassettes'
|
|
|
|
c.hook_into :webmock
|
|
|
|
end
|