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