mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-25 12:32:30 +01:00
24 lines
404 B
Ruby
24 lines
404 B
Ruby
# frozen_string_literal: true
|
|
|
|
ENV['APP_ENV'] ||= 'test'
|
|
|
|
# Keep SimpleCov at top.
|
|
require 'simplecov'
|
|
|
|
SimpleCov.start do
|
|
add_filter '/spec/'
|
|
end
|
|
|
|
require_relative '../config/environment'
|
|
|
|
require 'minitest/autorun'
|
|
require 'minitest/around/spec'
|
|
require 'minitest/focus'
|
|
require 'vcr'
|
|
require 'webmock'
|
|
|
|
VCR.configure do |c|
|
|
c.cassette_library_dir = 'spec/vcr_cassettes'
|
|
c.hook_into :webmock
|
|
end
|