lib/rubocop/cop/minitest/no_assertions.rb in rubocop-minitest-0.17.0 vs lib/rubocop/cop/minitest/no_assertions.rb in rubocop-minitest-0.17.1

- old
+ new

@@ -37,10 +37,10 @@ end private def assertions_count(node) - base = assertion?(node) ? 1 : 0 + base = assertion_method?(node) ? 1 : 0 base + node.each_child_node.sum { |c| assertions_count(c) } end end end end