frankfurter/spec/helper.rb

22 lines
396 B
Ruby

# frozen_string_literal: true
ENV['APP_ENV'] ||= 'test'
require_relative '../config/environment'
require 'minitest/autorun'
require 'minitest/around/spec'
require 'minitest/focus'
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