summaryrefslogtreecommitdiff
path: root/rubocop/cop/gitlab/avoid_feature_get.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/cop/gitlab/avoid_feature_get.rb')
-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 ...)