diff options
| author | Jack Nagel | 2013-03-25 13:35:20 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-03-26 00:02:41 -0500 |
| commit | 5b0610569fc188c6a8213cefdb67145d2d2d8a3d (patch) | |
| tree | 3ad6ac166af14dc2f85304664b113406942d3ef3 | |
| parent | 98c379cd6a5a5a7ec04c4be0d9754c349c6d633c (diff) | |
| download | homebrew-5b0610569fc188c6a8213cefdb67145d2d2d8a3d.tar.bz2 | |
orientdb: fix test
| -rw-r--r-- | Library/Formula/orientdb.rb | 8 |
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 |
