lib/rubocop/cop/rspec/scattered_setup.rb in rubocop-rspec-1.32.0 vs lib/rubocop/cop/rspec/scattered_setup.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -21,10 +21,10 @@
# setup2
# end
# end
#
class ScatteredSetup < Cop
- MSG = 'Do not define multiple hooks in the same example group.'.freeze
+ MSG = 'Do not define multiple hooks in the same example group.'
def on_block(node)
return unless example_group?(node)
analyzable_hooks(node).each do |repeated_hook|