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"
|
|
|
|
|
|
|
|
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
|
2018-06-05 17:18:06 -04:00
|
|
|
|
|
|
|
config.fixture_path = Rails.root if defined?(Rails)
|
2018-03-29 05:47:54 -04:00
|
|
|
end
|