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

- old
+ new

@@ -26,10 +26,10 @@ class VerifiedDoubles < Base MSG = 'Prefer using verifying doubles over normal doubles.' RESTRICT_ON_SEND = %i[double spy].freeze # @!method unverified_double(node) - def_node_matcher :unverified_double, <<-PATTERN + def_node_matcher :unverified_double, <<~PATTERN {(send nil? {:double :spy} $...)} PATTERN def on_send(node) unverified_double(node) do |name, *_args|