shorten: use assert_predicate instead of File.exist?
This commit is contained in:
parent
310f43eb78
commit
8eba4a8dab
1 changed files with 1 additions and 1 deletions
|
@ -23,6 +23,6 @@ class Shorten < Formula
|
|||
|
||||
test do
|
||||
system "#{bin}/shorten", test_fixtures("test.wav"), "test"
|
||||
assert File.exist? "test"
|
||||
assert_predicate testpath/"test", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue