diff options
Diffstat (limited to 'rubocop/cop/qa/element_with_pattern.rb')
-rw-r--r-- | rubocop/cop/qa/element_with_pattern.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/qa/element_with_pattern.rb b/rubocop/cop/qa/element_with_pattern.rb index d0a42497960..387ca3eb517 100644 --- a/rubocop/cop/qa/element_with_pattern.rb +++ b/rubocop/cop/qa/element_with_pattern.rb @@ -16,7 +16,7 @@ module RuboCop # # good # element :some_element # element :some_element, required: true - class ElementWithPattern < RuboCop::Cop::Cop + class ElementWithPattern < RuboCop::Cop::Base include QAHelpers MESSAGE = "Don't use a pattern for element, create a corresponding `%s` instead." |