diff options
Diffstat (limited to 'rubocop/cop/qa/ambiguous_page_object_name.rb')
-rw-r--r-- | rubocop/cop/qa/ambiguous_page_object_name.rb | 2 |
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." |