scrypt: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:08:13 -07:00
parent 0cd523b6b3
commit 847c08a44a

View file

@ -43,6 +43,6 @@ class Scrypt < Formula
touch "homebrew.txt"
system "./test.sh"
assert File.exist?("homebrew.txt.enc")
assert_predicate testpath/"homebrew.txt.enc", :exist?
end
end