artifactory: use pipe_output

This commit is contained in:
Dominyk Tiller 2015-08-22 19:37:27 +01:00
parent 7472beb31b
commit 15b4118389

View file

@ -65,6 +65,6 @@ class Artifactory < Formula
end
test do
assert_match /Checking arguments to Artifactory/, `#{bin}/artifactory.sh check`
assert_match /Checking arguments to Artifactory/, pipe_output("#{bin}/artifactory.sh check")
end
end