summaryrefslogtreecommitdiff
path: root/rubocop
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-13 21:08:20 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-13 21:08:20 +0000
commit4f4b85e1c7f7a5518f12a6981709cf3ef3f0f653 (patch)
tree8adfdbfb57def6abe06a2cb3a0f058a861612c67 /rubocop
parent04befb368f4b170ce19bb2c7c8739baa08b04a0a (diff)
downloadgitlab-ce-4f4b85e1c7f7a5518f12a6981709cf3ef3f0f653.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'rubocop')
-rw-r--r--rubocop/cop/rspec/invalid_feature_category.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/rspec/invalid_feature_category.rb b/rubocop/cop/rspec/invalid_feature_category.rb
index de11c6c443a..9ef880d6aac 100644
--- a/rubocop/cop/rspec/invalid_feature_category.rb
+++ b/rubocop/cop/rspec/invalid_feature_category.rb
@@ -47,7 +47,7 @@ module RuboCop
# @!method feature_category?(node)
def_node_matcher :feature_category_value, <<~PATTERN
(block
- (send ...
+ (send #rspec? {#ExampleGroups.all #Examples.all} ...
(hash <(pair (sym :feature_category) $_) ...>)
)
...