diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-04-01 01:12:49 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-04-01 23:51:18 +0200 |
commit | fff3e75e1cf777f4b444d08c153065ab4264fa2e (patch) | |
tree | a4a76f9cfdab15d0629a83ec5a18d96e7a860e84 /actionpack/lib/action_dispatch/testing/assertions | |
parent | fa1645a2b73f8bab33b10ef7a56d2062cc76eb0b (diff) | |
download | rails-fff3e75e1cf777f4b444d08c153065ab4264fa2e.tar.gz rails-fff3e75e1cf777f4b444d08c153065ab4264fa2e.tar.bz2 rails-fff3e75e1cf777f4b444d08c153065ab4264fa2e.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 'actionpack/lib/action_dispatch/testing/assertions')
0 files changed, 0 insertions, 0 deletions