diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-02-24 23:45:05 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-02-24 23:45:38 +0900 |
commit | 87a8206dbca1d6992e91eeea9a6c56e7c53e0ef1 (patch) | |
tree | a672c45db8acd84110a477d27fd7bef19ff98e32 /railties/test | |
parent | bf388ecfc22d91f9716aca82cc4da5b583d87f17 (diff) | |
download | rails-87a8206dbca1d6992e91eeea9a6c56e7c53e0ef1.tar.gz rails-87a8206dbca1d6992e91eeea9a6c56e7c53e0ef1.tar.bz2 rails-87a8206dbca1d6992e91eeea9a6c56e7c53e0ef1.zip |
does not show hidden namespaces in generator's help
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/generators_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/test/application/generators_test.rb b/railties/test/application/generators_test.rb index d2ce14f594..ee0d697599 100644 --- a/railties/test/application/generators_test.rb +++ b/railties/test/application/generators_test.rb @@ -184,5 +184,12 @@ module ApplicationTests Rails::Command.send(:remove_const, "APP_PATH") end + + test "help does not show hidden namespaces" do + FileUtils.cd(rails_root) do + output = `bin/rails generate --help` + assert_no_match "active_record:migration", output + end + end end end |