From eec7cb6cda3251c6e9c739c8c8e8a426d85abc00 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Mon, 9 Oct 2017 09:23:52 -0700 Subject: [PATCH] magnetix: use assert_predicate --- Formula/magnetix.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/magnetix.rb b/Formula/magnetix.rb index ca416b3f4d..4dbe04365f 100644 --- a/Formula/magnetix.rb +++ b/Formula/magnetix.rb @@ -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