lib/rubocop/cop/rspec/message_spies.rb in rubocop-rspec-2.0.0 vs lib/rubocop/cop/rspec/message_spies.rb in rubocop-rspec-2.0.1
- old
+ new
@@ -27,11 +27,11 @@
class MessageSpies < Base
include ConfigurableEnforcedStyle
MSG_RECEIVE = 'Prefer `receive` for setting message expectations.'
- MSG_HAVE_RECEIVED = 'Prefer `have_received` for setting message '\
- 'expectations. Setup `%<source>s` as a spy using '\
+ MSG_HAVE_RECEIVED = 'Prefer `have_received` for setting message ' \
+ 'expectations. Setup `%<source>s` as a spy using ' \
'`allow` or `instance_spy`.'
SUPPORTED_STYLES = %w[have_received receive].freeze
def_node_matcher :message_expectation, %(