aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/weighttp.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/weighttp.rb b/Library/Formula/weighttp.rb
index 4da30fd07..da2640aaf 100644
--- a/Library/Formula/weighttp.rb
+++ b/Library/Formula/weighttp.rb
@@ -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