gmt@4: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:08:06 -07:00
parent 5119a2fff8
commit 4f8ff856cd

View file

@ -40,6 +40,6 @@ class GmtAT4 < Formula
test do
system "#{bin}/gmt pscoast -R-90/-70/0/20 -JM6i -P -Ba5 -Gchocolate > test.ps"
assert File.exist?("test.ps")
assert_predicate testpath/"test.ps", :exist?
end
end