gpsbabel: use assert_predicate instead of File.exist?
This commit is contained in:
parent
11ed97bcfe
commit
f86a802b95
1 changed files with 1 additions and 1 deletions
|
@ -41,6 +41,6 @@ class Gpsbabel < Formula
|
|||
</loc>
|
||||
EOS
|
||||
system bin/"gpsbabel", "-i", "geo", "-f", "test.loc", "-o", "gpx", "-F", "test.gpx"
|
||||
assert File.exist? "test.gpx"
|
||||
assert_predicate testpath/"test.gpx", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue