From 3e12137d49904edf889c4d0e12293ec1ff2c8470 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Fri, 6 Oct 2017 02:47:49 -0700 Subject: [PATCH] qpm: use assert_predicate instead of File.exist? --- Formula/qpm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/qpm.rb b/Formula/qpm.rb index 1c83d41e98..0ac7c09084 100644 --- a/Formula/qpm.rb +++ b/Formula/qpm.rb @@ -50,6 +50,6 @@ class Qpm < Formula test do system bin/"qpm", "install", "io.qpm.example" - assert File.exist?(testpath/"qpm.json") + assert_predicate testpath/"qpm.json", :exist? end end