aescrypt-packetizer: use assert_predicate instead of File.exist?
This commit is contained in:
parent
1cb63a565f
commit
9985b59f02
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class AescryptPacketizer < Formula
|
|||
path.write original_contents
|
||||
|
||||
system bin/"paescrypt", "-e", "-p", "fire", path
|
||||
assert File.exist?("#{path}.aes")
|
||||
assert_predicate testpath/"#{path}.aes", :exist?
|
||||
|
||||
system bin/"paescrypt", "-d", "-p", "fire", "#{path}.aes"
|
||||
assert_equal original_contents, path.read
|
||||
|
|
Loading…
Reference in a new issue