blazeblogger: use assert_predicate instead of File.exist?
This commit is contained in:
parent
751014163f
commit
f694d7711f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue