rails/rails — pull request #8139 by senny (2012-11-07 20:36:14+00:00)
Title: Add app Rake tasks when -T and --dummy-path is passed to `plugin new`

This patch adds the dummy app Rake tasks to the Rakefile template when `rails plugin new` is called with `--skip-test-unit` and `--dummy-path`. Since `--dummy-path` generates the dummy app even when test unit is skipped I think it's ok to also add in the Rake tasks.

I added a CHANGELOG entry and also created the `with_dummy_app?` method to reuse the condition.

This is a fix for #8121