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

- old
+ new

@@ -31,10 +31,10 @@ SUPPORTED_STYLES = %w[allow expect].freeze RESTRICT_ON_SEND = %i[to].freeze # @!method message_expectation(node) - def_node_matcher :message_expectation, <<-PATTERN + def_node_matcher :message_expectation, <<~PATTERN (send $(send nil? {:expect :allow} ...) :to #receive_message?) PATTERN # @!method receive_message?(node) def_node_search :receive_message?, '(send nil? :receive ...)'