blazeblogger: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:39:15 -07:00
parent 751014163f
commit f694d7711f

View file

@ -24,7 +24,7 @@ class Blazeblogger < Formula
system bin/"blaze", "init"
system bin/"blaze", "config", "blog.title", "Homebrew!"
system bin/"blaze", "make"
assert File.exist? "default.css"
assert_predicate testpath/"default.css", :exist?
assert_match "Homebrew!", File.read(".blaze/config")
end
end