moodbar: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:08:09 -07:00
parent 8e94cf835b
commit ee6fdec3da

View file

@ -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