lib/rubocop/cop/rspec/verified_doubles.rb in rubocop-rspec-1.8.0 vs lib/rubocop/cop/rspec/verified_doubles.rb in rubocop-rspec-1.9.0

- old
+ new

@@ -16,11 +16,9 @@ # # good # it '...' do # widget = instance_double("Widget") # end class VerifiedDoubles < Cop - include RuboCop::RSpec::SpecOnly - MSG = 'Prefer using verifying doubles over normal doubles.'.freeze def_node_matcher :unverified_double, <<-PATTERN {(send nil {:double :spy} $_ ...) } PATTERN