aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/orientdb.rb
diff options
context:
space:
mode:
authorJack Nagel2013-03-25 13:35:20 -0500
committerJack Nagel2013-03-26 00:02:41 -0500
commit5b0610569fc188c6a8213cefdb67145d2d2d8a3d (patch)
tree3ad6ac166af14dc2f85304664b113406942d3ef3 /Library/Formula/orientdb.rb
parent98c379cd6a5a5a7ec04c4be0d9754c349c6d633c (diff)
downloadhomebrew-5b0610569fc188c6a8213cefdb67145d2d2d8a3d.tar.bz2
orientdb: fix test
Diffstat (limited to 'Library/Formula/orientdb.rb')
-rw-r--r--Library/Formula/orientdb.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/orientdb.rb b/Library/Formula/orientdb.rb
index 9c8dfe4fb..4c2018a7b 100644
--- a/Library/Formula/orientdb.rb
+++ b/Library/Formula/orientdb.rb
@@ -32,9 +32,9 @@ class Orientdb < Formula
"Use `orientdb <start | stop | status>`, `orientdb-console` and `orientdb-gremlin`."
end
- def test
- system "orientdb start"
- system "orientdb status | grep PID"
- system "orientdb stop"
+ test do
+ system "#{bin}/orientdb", "start"
+ system "#{bin}/orientdb status | grep PID"
+ system "#{bin}/orientdb", "stop"
end
end