magnetix: use assert_predicate
This commit is contained in:
parent
908c824c3a
commit
eec7cb6cda
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue