gitlab-org--gitlab-foss/spec/support/rspec.rb

20 lines
514 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require_relative "helpers/stub_configuration"
require_relative "helpers/stub_metrics"
require_relative "helpers/stub_object_storage"
require_relative "helpers/stub_env"
require_relative "helpers/expect_offense"
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
config.include ExpectOffense, type: :rubocop
end