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