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:
Diffstat (limited to 'rubocop/cop/qa/ambiguous_page_object_name.rb')
-rw-r--r--rubocop/cop/qa/ambiguous_page_object_name.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/qa/ambiguous_page_object_name.rb b/rubocop/cop/qa/ambiguous_page_object_name.rb
index a4a2c04f61f..a331851bcc5 100644
--- a/rubocop/cop/qa/ambiguous_page_object_name.rb
+++ b/rubocop/cop/qa/ambiguous_page_object_name.rb
@@ -16,7 +16,7 @@ module RuboCop
# # good
# Page::Object.perform do |object| do ...
# Page::Another.perform { |another| ... }
- class AmbiguousPageObjectName < RuboCop::Cop::Cop
+ class AmbiguousPageObjectName < RuboCop::Cop::Base
include QAHelpers
MESSAGE = "Don't use 'page' as a name for a Page Object. Use `%s` instead."