ry: use assert_predicate instead of File.exist?
This commit is contained in:
parent
3e12137d49
commit
df5fcf49b7
1 changed files with 1 additions and 1 deletions
|
@ -40,6 +40,6 @@ class Ry < Formula
|
|||
ENV["RY_RUBIES"] = testpath/"rubies"
|
||||
|
||||
system bin/"ry", "ls"
|
||||
assert File.exist?(testpath/"rubies")
|
||||
assert_predicate testpath/"rubies", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue