From 5b0610569fc188c6a8213cefdb67145d2d2d8a3d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 25 Mar 2013 13:35:20 -0500 Subject: orientdb: fix test --- Library/Formula/orientdb.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Library/Formula') 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 `, `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 -- cgit v1.2.3