clearlooks-phenix: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:08:03 -07:00
parent a7ed85848a
commit 2a01b8d7e7

View file

@ -19,6 +19,6 @@ class ClearlooksPhenix < Formula
end end
test do test do
assert File.exist?("#{share}/themes/Clearlooks-Phenix/index.theme") assert_predicate testpath/"#{share}/themes/Clearlooks-Phenix/index.theme", :exist?
end end
end end