ry: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:47:49 -07:00
parent 3e12137d49
commit df5fcf49b7

View file

@ -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