pax-construct: use new java_cache env

This commit is contained in:
Dominyk Tiller 2015-12-18 23:44:09 +00:00
parent 5eb1454fb1
commit c51914f82f

View file

@ -17,7 +17,8 @@ class PaxConstruct < Formula
end
test do
ENV["_JAVA_OPTIONS"] = "-Duser.home=#{testpath}"
ENV.java_cache
system bin/"pax-create-project", "-g", "Homebrew", "-a", "testing",
"-v", "alpha-1"
assert File.exist?("testing/pom.xml")