lib/rubocop/cop/rspec/verified_doubles.rb in rubocop-rspec-2.1.0 vs lib/rubocop/cop/rspec/verified_doubles.rb in rubocop-rspec-2.2.0

- old
+ new

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