lib/rubocop/cop/rspec/subject_stub.rb in rubocop-rspec-2.2.0 vs lib/rubocop/cop/rspec/subject_stub.rb in rubocop-rspec-2.3.0
- old
+ new
@@ -79,9 +79,10 @@
#Runners.all
#message_expectation_matcher?
)
PATTERN
+ # @!method message_expectation_matcher?(node)
def_node_search :message_expectation_matcher?, <<-PATTERN
(send nil? {
:receive :receive_messages :receive_message_chain :have_received
} ...)
PATTERN