lib/rubocop/cop/rspec/stubbed_mock.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/stubbed_mock.rb in rubocop-rspec-2.26.0

- old
+ new

@@ -29,10 +29,10 @@ # @example source that matches # receive(:foo).with('bar') # # @param node [RuboCop::AST::Node] # @return [Array<RuboCop::AST::Node>] matching nodes - def_node_matcher :message_expectation?, <<-PATTERN + def_node_matcher :message_expectation?, <<~PATTERN { (send nil? { :receive :receive_message_chain } ...) # receive(:foo) (send (send nil? :receive ...) :with ...) # receive(:foo).with('bar') } PATTERN