putty: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:08:11 -07:00
parent 77dd654ce0
commit ce1b2ed3aa

View file

@ -74,6 +74,6 @@ class Putty < Formula
chmod 0755, testpath/"command.sh"
system "./command.sh"
assert File.exist?("test.key")
assert_predicate testpath/"test.key", :exist?
end
end