2019-10-12 21:52:04 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
require_relative "helpers/stub_configuration"
|
2018-11-18 11:00:15 +05:30
|
|
|
require_relative "helpers/stub_metrics"
|
2018-10-15 14:42:47 +05:30
|
|
|
require_relative "helpers/stub_object_storage"
|
|
|
|
require_relative "helpers/stub_env"
|
2020-07-28 23:09:34 +05:30
|
|
|
require_relative "helpers/fast_rails_root"
|
|
|
|
require 'rubocop/rspec/support'
|
2018-10-15 14:42:47 +05:30
|
|
|
|
|
|
|
RSpec.configure do |config|
|
|
|
|
config.mock_with :rspec
|
|
|
|
config.raise_errors_for_deprecations!
|
|
|
|
|
|
|
|
config.include StubConfiguration
|
2018-11-18 11:00:15 +05:30
|
|
|
config.include StubMetrics
|
2018-10-15 14:42:47 +05:30
|
|
|
config.include StubObjectStorage
|
|
|
|
config.include StubENV
|
2020-07-28 23:09:34 +05:30
|
|
|
config.include FastRailsRoot
|
2020-06-23 00:09:42 +05:30
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
config.include RuboCop::RSpec::ExpectOffense, type: :rubocop
|
2018-10-15 14:42:47 +05:30
|
|
|
end
|