git-secret: use assert_predicate instead of File.exist?
This commit is contained in:
parent
6938c5e3ed
commit
1f8ad215e2
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class GitSecret < Formula
|
|||
(testpath/".gitignore").write "shh.txt"
|
||||
system "git", "secret", "add", "shh.txt"
|
||||
system "git", "secret", "hide"
|
||||
assert File.exist?("shh.txt.secret")
|
||||
assert_predicate testpath/"shh.txt.secret", :exist?
|
||||
ensure
|
||||
system Formula["gnupg"].opt_bin/"gpgconf", "--kill", "gpg-agent"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue