lib/rubocop/cop/rspec/implicit_block_expectation.rb in rubocop-rspec-1.43.2 vs lib/rubocop/cop/rspec/implicit_block_expectation.rb in rubocop-rspec-1.44.0

- old
+ new

@@ -20,11 +20,10 @@ MSG = 'Avoid implicit block expectations.' def_node_matcher :lambda?, <<-PATTERN { (send (const nil? :Proc) :new) - (send nil? :proc) - (send nil? :lambda) + (send nil? {:proc :lambda}) } PATTERN def_node_matcher :lambda_subject?, '(block #lambda? ...)'