weighttp: fix test

master
Jack Nagel 2013-03-25 13:35:22 -05:00
parent c492a4f02b
commit 2d92d9b21b
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ class Weighttp < Formula
bin.install "build/default/weighttp"
end
def test
system "weighttp -n 1 http://redmine.lighttpd.net/projects/weighttp/wiki"
test do
system "#{bin}/weighttp", "-n", "1", "http://redmine.lighttpd.net/projects/weighttp/wiki"
end
end