diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-04-01 01:12:49 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-04-02 00:30:42 +0200 |
commit | 515e1d33f25a75dee0726dab67a1469f5a4ce813 (patch) | |
tree | 1f6dd1fd2f2922830cf706c1743095c0700a5f9d /railties/test/generators_test.rb | |
parent | 27fc6ec95eb7a1756fb86693b6fe8e03f1d66ef3 (diff) | |
download | rails-515e1d33f25a75dee0726dab67a1469f5a4ce813.tar.gz rails-515e1d33f25a75dee0726dab67a1469f5a4ce813.tar.bz2 rails-515e1d33f25a75dee0726dab67a1469f5a4ce813.zip |
Usage file in generators shouldn't be fetched only based on source_root
In case `source_roout` is not set, `default_source_root` is used,
which includes also `templates` directory. If there is no `templates`
directory, `default_source_root` is not available and USAGE will not
be displayed. USAGE should be also checked based on default
directory excluding `templates`.
Diffstat (limited to 'railties/test/generators_test.rb')
0 files changed, 0 insertions, 0 deletions