magnetix: use assert_predicate

This commit is contained in:
ilovezfs 2017-10-09 09:23:52 -07:00
parent 908c824c3a
commit eec7cb6cda

View file

@ -39,6 +39,6 @@ class Magnetix < Formula
end
test do
File.executable? "#{prefix}/magnetiX.app/Contents/MacOS/magnetiX"
assert_predicate prefix/"magnetiX.app/Contents/MacOS/magnetiX", :executable?
end
end