aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_tap_new.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-10-13 13:41:53 +0100
committerMike McQuaid2016-10-15 12:32:34 +0100
commitf435adc2d00f4e5f91390de423f113168efe72ac (patch)
tree1b8cf0b84062479d96f18fc9645467cd269bf018 /Library/Homebrew/test/test_tap_new.rb
parent13276409a9b08fcbadfed18c25b6fd11af343729 (diff)
downloadbrew-f435adc2d00f4e5f91390de423f113168efe72ac.tar.bz2
Rename tap-readme command to tap-new.
Write the README but also a `.travis.yml` file (and in future perhaps a `Jenkinsfile`).
Diffstat (limited to 'Library/Homebrew/test/test_tap_new.rb')
-rw-r--r--Library/Homebrew/test/test_tap_new.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_tap_new.rb b/Library/Homebrew/test/test_tap_new.rb
new file mode 100644
index 000000000..636024b0a
--- /dev/null
+++ b/Library/Homebrew/test/test_tap_new.rb
@@ -0,0 +1,9 @@
+require "helper/integration_command_test_case"
+
+class IntegrationCommandTestTapNew < IntegrationCommandTestCase
+ def test_tap_readme
+ assert_equal "", cmd("tap-new", "homebrew/foo", "--verbose")
+ readme = HOMEBREW_LIBRARY/"Taps/homebrew/homebrew-foo/README.md"
+ assert readme.exist?, "The README should be created"
+ end
+end