2019-07-25 01:27:42 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-03-29 05:47:54 -04:00
|
|
|
require_relative "helpers/stub_configuration"
|
2018-07-23 09:13:11 -04:00
|
|
|
require_relative "helpers/stub_metrics"
|
2018-03-29 05:47:54 -04:00
|
|
|
require_relative "helpers/stub_object_storage"
|
|
|
|
require_relative "helpers/stub_env"
|
2020-07-01 08:09:08 -04:00
|
|
|
require_relative "helpers/fast_rails_root"
|
2020-06-22 17:08:42 -04:00
|
|
|
require 'rubocop/rspec/support'
|
2018-03-29 05:47:54 -04:00
|
|
|
|
|
|
|
RSpec.configure do |config|
|
|
|
|
config.mock_with :rspec
|
|
|
|
config.raise_errors_for_deprecations!
|
|
|
|
|
|
|
|
config.include StubConfiguration
|
2018-07-23 09:13:11 -04:00
|
|
|
config.include StubMetrics
|
2018-03-29 05:47:54 -04:00
|
|
|
config.include StubObjectStorage
|
|
|
|
config.include StubENV
|
2020-07-01 08:09:08 -04:00
|
|
|
config.include FastRailsRoot
|
2020-06-15 20:08:33 -04:00
|
|
|
|
2020-06-22 17:08:42 -04:00
|
|
|
config.include RuboCop::RSpec::ExpectOffense, type: :rubocop
|
2018-03-29 05:47:54 -04:00
|
|
|
end
|