summaryrefslogtreecommitdiff
path: root/spec/support/rspec.rb
blob: 54b8df7aa19c7004cf1dc79b9242b8b19913d467 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require_relative "helpers/stub_configuration"
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
  config.include StubObjectStorage
  config.include StubENV

  config.fixture_path = Rails.root if defined?(Rails)
end