lib/rubocop/cop/rspec/hooks_before_examples.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/hooks_before_examples.rb in rubocop-rspec-1.43.0
- old
+ new
@@ -21,10 +21,10 @@
#
# it 'checks what foo does' do
# expect(foo).to be
# end
#
- class HooksBeforeExamples < Cop
+ class HooksBeforeExamples < Base
extend AutoCorrector
MSG = 'Move `%<hook>s` above the examples in the group.'
def_node_matcher :example_or_group?, <<-PATTERN