diff options
| author | Alessio Bogon | 2015-01-21 15:37:51 +0100 |
|---|---|---|
| committer | Jack Nagel | 2015-01-22 01:08:49 -0500 |
| commit | 212e3ef7d3636b460753dd23b68cc55267c34a41 (patch) | |
| tree | b29083c85dd1023c97cb54b770998c48804ce05e /Library | |
| parent | d68f4b7ed031dd75a66febd66b3d33cc286c5936 (diff) | |
| download | homebrew-212e3ef7d3636b460753dd23b68cc55267c34a41.tar.bz2 | |
cookiecutter: improve test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/cookiecutter.rb | 4 |
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 |
