lib/rubocop/cop/rspec/scattered_let.rb in rubocop-rspec-1.25.1 vs lib/rubocop/cop/rspec/scattered_let.rb in rubocop-rspec-1.26.0

- old
+ new

@@ -27,10 +27,10 @@ # end # class ScatteredLet < Cop MSG = 'Group all let/let! blocks in the example group together.'.freeze - def_node_matcher :let?, '(block (send nil? {:let :let!} ...) ...)' + def_node_matcher :let?, Helpers::ALL.block_pattern def on_block(node) return unless example_group_with_body?(node) check_let_declarations(node.body)