glide: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:08:05 -07:00
parent 46c7f280cd
commit 5119a2fff8

View file

@ -30,6 +30,6 @@ class Glide < Formula
test do
assert_match version.to_s, shell_output("#{bin}/glide --version")
system bin/"glide", "create", "--non-interactive", "--skip-import"
assert File.exist?("glide.yaml")
assert_predicate testpath/"glide.yaml", :exist?
end
end