kobalt: use assert_predicate instead of File.exist?
This commit is contained in:
parent
9eda34f526
commit
8854609817
1 changed files with 1 additions and 1 deletions
|
@ -37,6 +37,6 @@ class Kobalt < Formula
|
|||
|
||||
system "#{bin}/kobaltw", "assemble"
|
||||
output = "kobaltBuild/libs/test-1.0.jar"
|
||||
assert File.exist?(output), "Couldn't find #{output}"
|
||||
assert_predicate testpath/output, :exist?, "Couldn't find #{output}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue