bake/covered/validate.rb in covered-0.16.8 vs bake/covered/validate.rb in covered-0.16.9
- old
+ new
@@ -9,10 +9,10 @@
require_relative '../../lib/covered/config'
end
# Validate the coverage of multiple test runs.
# @parameter paths [Array(String)] The coverage database paths.
-# @parameter minumum [Float] The minimum required coverage in order to pass.
+# @parameter minimum [Float] The minimum required coverage in order to pass.
def validate(paths: nil, minimum: 1.0)
config = Covered::Config.load
paths&.each do |path|
# It would be nice to have a better algorithm here than just ignoring mtime - perhaps using checksums?