lib/rubocop/cop/rspec/verified_doubles.rb in rubocop-rspec-2.12.1 vs lib/rubocop/cop/rspec/verified_doubles.rb in rubocop-rspec-2.13.0
- old
+ new
@@ -20,9 +20,10 @@
#
# # good
# 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
# @!method unverified_double(node)