moodbar: use assert_predicate instead of File.exist?
This commit is contained in:
parent
8e94cf835b
commit
ee6fdec3da
1 changed files with 1 additions and 1 deletions
|
@ -34,6 +34,6 @@ class Moodbar < Formula
|
|||
|
||||
test do
|
||||
system bin/"moodbar", "-o", "test.mood", test_fixtures("test.wav")
|
||||
assert File.exist?("test.mood")
|
||||
assert_predicate testpath/"test.mood", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue