lib/rubocop/cop/rspec/scattered_setup.rb in rubocop-rspec-2.0.0 vs lib/rubocop/cop/rspec/scattered_setup.rb in rubocop-rspec-2.0.1
- old
+ new
@@ -21,10 +21,10 @@
# setup2
# end
# end
#
class ScatteredSetup < Base
- MSG = 'Do not define multiple `%<hook_name>s` hooks in the same '\
+ 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)