mp3wrap: use assert_predicate instead of File.exist?
This commit is contained in:
parent
1e3f176bb3
commit
fc5feda951
1 changed files with 1 additions and 1 deletions
|
@ -24,6 +24,6 @@ class Mp3wrap < Formula
|
|||
test do
|
||||
source = test_fixtures("test.mp3")
|
||||
system "#{bin}/mp3wrap", "#{testpath}/t.mp3", source, source
|
||||
assert File.exist? testpath/"t_MP3WRAP.mp3"
|
||||
assert_predicate testpath/"t_MP3WRAP.mp3", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue