pax-construct: use assert_predicate instead of File.exist?
This commit is contained in:
parent
92cd7e0efb
commit
9a21917a8d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue