Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/rspec.rb')
-rw-r--r--spec/support/rspec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/support/rspec.rb b/spec/support/rspec.rb
index 1c9f9e5161e..7d011c5eb95 100644
--- a/spec/support/rspec.rb
+++ b/spec/support/rspec.rb
@@ -4,6 +4,7 @@ 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
@@ -13,4 +14,6 @@ RSpec.configure do |config|
config.include StubMetrics
config.include StubObjectStorage
config.include StubENV
+
+ config.include ExpectOffense, type: :rubocop
end