svg2pdf: use assert_predicate instead of File.exist?
This commit is contained in:
parent
ccc165eb5d
commit
9df7e66549
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class Svg2pdf < Formula
|
|||
test do
|
||||
resource("svg.svg").stage do
|
||||
system "#{bin}/svg2pdf", "svg.svg", "test.pdf"
|
||||
assert File.exist? "test.pdf"
|
||||
assert_predicate Pathname.pwd/"test.pdf", :exist?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue