lib/rubocop/cop/rspec/scattered_setup.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/scattered_setup.rb in rubocop-rspec-1.43.0

- old
+ new

@@ -20,10 +20,10 @@ # setup1 # setup2 # end # end # - class ScatteredSetup < Cop + class ScatteredSetup < Base MSG = 'Do not define multiple `%<hook_name>s` hooks in the same '\ 'example group (also defined on %<lines>s).' def on_block(node) return unless example_group?(node)