mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 19:12:32 +01:00
22 lines
396 B
Ruby
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
|