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-06-15 20:08:33 -04:00
|
|
|
require_relative "helpers/expect_offense"
|
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-06-15 20:08:33 -04:00
|
|
|
|
|
|
|
config.include ExpectOffense, type: :rubocop
|
2018-03-29 05:47:54 -04:00
|
|
|
end
|