aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-03-25 13:35:22 -0500
committerJack Nagel2013-03-26 00:02:45 -0500
commitef80000a23df7d4006145af7e1c010531fd93f81 (patch)
tree261f9b5b5e8e6292e8aef6500b945d02b8767895
parent13c98e492352428b6d4108ed6aa4bc1fb2a1892d (diff)
downloadhomebrew-ef80000a23df7d4006145af7e1c010531fd93f81.tar.bz2
weighttp: fix test
-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