qpm: use assert_predicate instead of File.exist?
This commit is contained in:
parent
ac59da2358
commit
3e12137d49
1 changed files with 1 additions and 1 deletions
|
@ -50,6 +50,6 @@ class Qpm < Formula
|
|||
|
||||
test do
|
||||
system bin/"qpm", "install", "io.qpm.example"
|
||||
assert File.exist?(testpath/"qpm.json")
|
||||
assert_predicate testpath/"qpm.json", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue