diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-25 00:10:17 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-25 00:10:17 +0300 |
commit | ba0d8b409534f02c23bf2447fd32246926ba4392 (patch) | |
tree | 722b4f0f7be05189bfa5a0d06b20383b4680b5a1 /rubocop | |
parent | fd247970cfe1e98276c780fbdcca026b7960e42a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'rubocop')
-rw-r--r-- | rubocop/cop/rspec/missing_feature_category.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/rspec/missing_feature_category.rb b/rubocop/cop/rspec/missing_feature_category.rb index 314250af5ee..0f517473982 100644 --- a/rubocop/cop/rspec/missing_feature_category.rb +++ b/rubocop/cop/rspec/missing_feature_category.rb @@ -36,7 +36,7 @@ module RuboCop def on_top_level_example_group(node) return if feature_category?(node) - add_offense(node) + add_offense(node.children.first) end end end |