lib/rubocop/cop/rspec/scattered_let.rb in rubocop-rspec-1.14.0 vs lib/rubocop/cop/rspec/scattered_let.rb in rubocop-rspec-1.15.0

- old
+ new

@@ -30,10 +30,10 @@ MSG = 'Group all let/let! blocks in the example group together.'.freeze def_node_matcher :let?, '(block (send nil {:let :let!} ...) ...)' def on_block(node) - return unless example_group?(node) + return unless example_group_with_body?(node) _describe, _args, body = *node check_let_declarations(body) end