grsync: use assert_predicate
This commit is contained in:
parent
0168d07f38
commit
3dd59c91d7
1 changed files with 1 additions and 1 deletions
|
@ -27,6 +27,6 @@ class Grsync < Formula
|
|||
test do
|
||||
# running the executable always produces the GUI, which is undesirable for the test
|
||||
# so we'll just check if the executable exists
|
||||
assert (bin/"grsync").exist?
|
||||
assert_predicate bin/"grsync", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue