unarj: use assert_predicate instead of File.exist?
This commit is contained in:
parent
9df7e66549
commit
8ec3464336
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class Unarj < Formula
|
|||
# Ensure that you can extract ARJ.EXE from a sample self-extracting file
|
||||
resource("testfile").stage do
|
||||
system "#{bin}/unarj", "e", "ARJ286.EXE"
|
||||
assert File.exist? "ARJ.EXE"
|
||||
assert_predicate Pathname.pwd/"ARJ.EXE", :exist?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue