aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ponysay.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/ponysay.rb b/Library/Formula/ponysay.rb
index d97588379..c36f8fda7 100644
--- a/Library/Formula/ponysay.rb
+++ b/Library/Formula/ponysay.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Ponysay < Formula
homepage "http://erkin.co/ponysay/"
url "https://github.com/erkin/ponysay/archive/3.0.2.tar.gz"
@@ -22,4 +20,8 @@ class Ponysay < Formula
"--sysconf-dir=#{prefix}/etc",
"install"
end
+
+ test do
+ system "#{bin}/ponysay", "-A"
+ end
end