lib/rubocop/cop/rspec/implicit_block_expectation.rb in rubocop-rspec-2.12.1 vs lib/rubocop/cop/rspec/implicit_block_expectation.rb in rubocop-rspec-2.13.0

- old
+ new

@@ -14,9 +14,10 @@ # # # good # it 'changes something to a new value' do # expect { do_something }.to change(something).to(new_value) # end + # class ImplicitBlockExpectation < Base MSG = 'Avoid implicit block expectations.' RESTRICT_ON_SEND = %i[is_expected should should_not].freeze # @!method lambda?(node)