bup: use assert_predicate instead of File.exist?
This commit is contained in:
parent
7968383b22
commit
01f1b4284f
1 changed files with 1 additions and 1 deletions
|
@ -81,6 +81,6 @@ class Bup < Formula
|
|||
|
||||
test do
|
||||
system bin/"bup", "init"
|
||||
assert File.exist?("#{testpath}/.bup")
|
||||
assert_predicate testpath/".bup", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue