dependency-check: use assert_predicate instead of File.exist?
This commit is contained in:
parent
729223a42a
commit
af366a5232
1 changed files with 1 additions and 1 deletions
|
@ -37,6 +37,6 @@ class DependencyCheck < Formula
|
|||
EOS
|
||||
system bin/"dependency-check", "-P", "temp-props.properties", "-f", "XML",
|
||||
"--project", "dc", "-s", libexec, "-d", testpath, "-o", testpath
|
||||
assert File.exist?(testpath/"dependency-check-report.xml")
|
||||
assert_predicate testpath/"dependency-check-report.xml", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue