znc: use assert_predicate instead of File.exist?
This commit is contained in:
parent
c9a125e031
commit
7968383b22
1 changed files with 1 additions and 1 deletions
|
@ -79,6 +79,6 @@ class Znc < Formula
|
|||
test do
|
||||
mkdir ".znc"
|
||||
system bin/"znc", "--makepem"
|
||||
assert File.exist?(".znc/znc.pem")
|
||||
assert_predicate testpath/".znc/znc.pem", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue