gitlab-org--gitlab-foss/spec/support/rspec.rb
Thong Kuah 99e185cb91 Move fixture_path out of support/rspec file which is used by fast_spec_helper, so that fast specs can be run on its own again.
Move `fixture_path` config together with use_transactional_fixtures and
use_instantiated_fixtures. These settings are all added by rspec-rails

8c6c9590b9/lib/rspec/rails/configuration.rb (L65-L67)
2018-08-31 10:23:57 +12:00

14 lines
393 B
Ruby

require_relative "helpers/stub_configuration"
require_relative "helpers/stub_metrics"
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 StubMetrics
config.include StubObjectStorage
config.include StubENV
end