frankfurter/spec/helper.rb

21 lines
371 B
Ruby
Raw Normal View History

# frozen_string_literal: true
ENV['APP_ENV'] ||= 'test'
require_relative '../config/environment'
require 'minitest/autorun'
require 'minitest/around/spec'
require 'vcr'
require 'webmock'
begin
require 'pry'
rescue LoadError # rubocop:disable Lint/HandleExceptions
end
VCR.configure do |c|
c.cassette_library_dir = 'spec/vcr_cassettes'
c.hook_into :webmock
end