glide: use assert_predicate instead of File.exist?
This commit is contained in:
parent
46c7f280cd
commit
5119a2fff8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue