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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-01-07 21:10:38 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-01-07 21:10:38 +0300
commitdec7332357ae21be289ac26a4c440cb0b5fa1002 (patch)
tree3f10a979e0fb020e58c55591f8a296175b7ff0ee /spec/support/rspec.rb
parent73d39cc50e91d5b57cfec15a6b738301a4df9fa0 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/rspec.rb')
-rw-r--r--spec/support/rspec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/rspec.rb b/spec/support/rspec.rb
index 32f738faa9b..00b9aac7bf4 100644
--- a/spec/support/rspec.rb
+++ b/spec/support/rspec.rb
@@ -25,4 +25,8 @@ RSpec.configure do |config|
config.include FastRailsRoot
config.include RuboCop::RSpec::ExpectOffense, type: :rubocop
+
+ config.define_derived_metadata(file_path: %r{spec/rubocop}) do |metadata|
+ metadata[:type] = :rubocop
+ end
end