lib/rubocop/cop/rspec/around_block.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/around_block.rb in rubocop-rspec-1.43.0
- old
+ new
@@ -23,10 +23,10 @@
#
# around do |test|
# some_method
# test.run
# end
- class AroundBlock < Cop
+ class AroundBlock < Base
MSG_NO_ARG = 'Test object should be passed to around block.'
MSG_UNUSED_ARG = 'You should call `%<arg>s.call` '\
'or `%<arg>s.run`.'
def_node_matcher :hook, <<-PATTERN