trace2html: use assert_predicate instead of File.exist?
This commit is contained in:
parent
cd99bfa657
commit
a44b8d2674
1 changed files with 1 additions and 1 deletions
|
@ -17,6 +17,6 @@ class Trace2html < Formula
|
|||
test do
|
||||
touch "test.json"
|
||||
system "#{bin}/trace2html", "test.json"
|
||||
assert File.exist?("test.html")
|
||||
assert_predicate testpath/"test.html", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue