lib/rubocop/cop/rspec/message_spies.rb in rubocop-rspec-2.2.0 vs lib/rubocop/cop/rspec/message_spies.rb in rubocop-rspec-2.3.0

- old
+ new

@@ -33,13 +33,15 @@ 'expectations. Setup `%<source>s` as a spy using ' \ '`allow` or `instance_spy`.' SUPPORTED_STYLES = %w[have_received receive].freeze + # @!method message_expectation(node) def_node_matcher :message_expectation, %( (send (send nil? :expect $_) #Runners.all ...) ) + # @!method receive_message(node) def_node_search :receive_message, %( $(send nil? {:receive :have_received} ...) ) def on_send(node)