lib/rubocop/cop/rspec/verified_doubles.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/verified_doubles.rb in rubocop-rspec-1.43.0

- old
+ new

@@ -20,10 +20,10 @@ # # # good # let(:foo) do # instance_double("ClassName", method_name: 'returned value') # end - class VerifiedDoubles < Cop + class VerifiedDoubles < Base MSG = 'Prefer using verifying doubles over normal doubles.' def_node_matcher :unverified_double, <<-PATTERN {(send nil? {:double :spy} $...)} PATTERN