pax-construct: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:08:10 -07:00
parent 92cd7e0efb
commit 9a21917a8d

View file

@ -19,6 +19,6 @@ class PaxConstruct < Formula
test do
system bin/"pax-create-project", "-g", "Homebrew", "-a", "testing",
"-v", "alpha-1"
assert File.exist?("testing/pom.xml")
assert_predicate testpath/"testing/pom.xml", :exist?
end
end