lib/rubocop/cop/rspec/around_block.rb in rubocop-rspec-2.0.0 vs lib/rubocop/cop/rspec/around_block.rb in rubocop-rspec-2.0.1
- old
+ new
@@ -25,10 +25,10 @@
# some_method
# test.run
# end
class AroundBlock < Base
MSG_NO_ARG = 'Test object should be passed to around block.'
- MSG_UNUSED_ARG = 'You should call `%<arg>s.call` '\
+ MSG_UNUSED_ARG = 'You should call `%<arg>s.call` ' \
'or `%<arg>s.run`.'
def_node_matcher :hook, <<-PATTERN
(block (send nil? :around sym ?) (args $...) ...)
PATTERN