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>2022-05-04 03:09:14 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-04 03:09:14 +0300
commit09409d9dfb406911f45c867e2364e63a2620e966 (patch)
treed957796758912642536cdb0b673303f6775ea9dd /rubocop
parent947478911040ee8e1c5bb09b3506782b68ff05ee (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'rubocop')
-rw-r--r--rubocop/cop/gitlab/avoid_feature_get.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/rubocop/cop/gitlab/avoid_feature_get.rb b/rubocop/cop/gitlab/avoid_feature_get.rb
index e36e0b020c0..1bce89268d9 100644
--- a/rubocop/cop/gitlab/avoid_feature_get.rb
+++ b/rubocop/cop/gitlab/avoid_feature_get.rb
@@ -5,8 +5,8 @@ module RuboCop
module Gitlab
# Cop that blacklists the use of `Feature.get`.
class AvoidFeatureGet < RuboCop::Cop::Cop
- MSG = 'Use `Feature.enable/disable` methods instead of `Feature.get`. ' \
- 'See doc/development/testing_guide/best_practices.md#feature-flags-in-tests for more information.'
+ MSG = 'Use `stub_feature_flags` method instead of `Feature.get`. ' \
+ 'See doc/development/feature_flags/index.md#feature-flags-in-tests for more information.'
def_node_matcher :feature_get?, <<~PATTERN
(send (const nil? :Feature) :get ...)