diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-07 21:10:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-07 21:10:38 +0300 |
commit | dec7332357ae21be289ac26a4c440cb0b5fa1002 (patch) | |
tree | 3f10a979e0fb020e58c55591f8a296175b7ff0ee /spec/support/rspec.rb | |
parent | 73d39cc50e91d5b57cfec15a6b738301a4df9fa0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/rspec.rb')
-rw-r--r-- | spec/support/rspec.rb | 4 |
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 |