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

- old
+ new

@@ -14,10 +14,10 @@ # # # good # it 'changes something to a new value' do # expect { do_something }.to change(something).to(new_value) # end - class ImplicitBlockExpectation < Cop + class ImplicitBlockExpectation < Base MSG = 'Avoid implicit block expectations.' def_node_matcher :lambda?, <<-PATTERN { (send (const nil? :Proc) :new)