mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-10-29 23:32:35 +01:00
a96e56808e
... along with some minor miscellaneous refactoring This finally completes fixerAPI/fixer#22
21 lines
371 B
Ruby
21 lines
371 B
Ruby
# 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
|