aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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