aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAlessio Bogon2015-01-21 15:37:51 +0100
committerJack Nagel2015-01-22 01:08:49 -0500
commit212e3ef7d3636b460753dd23b68cc55267c34a41 (patch)
treeb29083c85dd1023c97cb54b770998c48804ce05e /Library
parentd68f4b7ed031dd75a66febd66b3d33cc286c5936 (diff)
downloadhomebrew-212e3ef7d3636b460753dd23b68cc55267c34a41.tar.bz2
cookiecutter: improve test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/cookiecutter.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/cookiecutter.rb b/Library/Formula/cookiecutter.rb
index 2fb9e0562..b6f9ffecf 100644
--- a/Library/Formula/cookiecutter.rb
+++ b/Library/Formula/cookiecutter.rb
@@ -52,6 +52,8 @@ class Cookiecutter < Formula
end
test do
- system "#{bin}/cookiecutter", "--help"
+ system "git", "clone", "https://github.com/audreyr/cookiecutter-pypackage.git"
+ system bin/"cookiecutter", "--no-input", "cookiecutter-pypackage"
+ assert (testpath/"boilerplate").directory?
end
end