grsync: use assert_predicate

This commit is contained in:
ilovezfs 2017-10-09 02:32:37 -07:00
parent 0168d07f38
commit 3dd59c91d7

View file

@ -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