bear: use assert_predicate instead of File.exist?
This commit is contained in:
parent
f2fb2a6247
commit
751014163f
1 changed files with 1 additions and 1 deletions
|
@ -23,6 +23,6 @@ class Bear < Formula
|
|||
|
||||
test do
|
||||
system "#{bin}/bear", "true"
|
||||
assert File.exist? "compile_commands.json"
|
||||
assert_predicate testpath/"compile_commands.json", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue