aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/elasticsearch.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/elasticsearch.rb b/Library/Formula/elasticsearch.rb
index 3855190e0..4441e4d52 100644
--- a/Library/Formula/elasticsearch.rb
+++ b/Library/Formula/elasticsearch.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Elasticsearch < Formula
homepage "http://www.elasticsearch.org"
url "https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.4.2.tar.gz"
@@ -119,4 +117,8 @@ class Elasticsearch < Formula
</plist>
EOS
end
+
+ test do
+ system "#{bin}/plugin", "--list"
+ end
end