lib/rubocop/cop/minitest/multiple_assertions.rb in rubocop-minitest-0.26.1 vs lib/rubocop/cop/minitest/multiple_assertions.rb in rubocop-minitest-0.27.0
- old
+ new
@@ -47,15 +47,9 @@
end
end
private
- def assertions_count(node)
- node.each_descendant(:send).count do |send_node|
- assertion_method?(send_node)
- end
- end
-
def max_assertions
Integer(cop_config.fetch('Max', 3))
end
end
end