diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-09-25 13:35:29 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-09-25 17:28:10 +0200 |
commit | 51c7660e089017adcf064301188c5b584cb41db0 (patch) | |
tree | e3ad49365e8390940e32af04e07085f92cb272e8 /railties/lib/rails/generators/test_unit | |
parent | 7acf64a81bfec9f60d001a5412529088373fc4b5 (diff) | |
download | rails-51c7660e089017adcf064301188c5b584cb41db0.tar.gz rails-51c7660e089017adcf064301188c5b584cb41db0.tar.bz2 rails-51c7660e089017adcf064301188c5b584cb41db0.zip |
Add namespacing to mailer generator
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/lib/rails/generators/test_unit')
-rw-r--r-- | railties/lib/rails/generators/test_unit/mailer/templates/functional_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/test_unit/mailer/templates/functional_test.rb b/railties/lib/rails/generators/test_unit/mailer/templates/functional_test.rb index 80ac7f0feb..b62c7fd279 100644 --- a/railties/lib/rails/generators/test_unit/mailer/templates/functional_test.rb +++ b/railties/lib/rails/generators/test_unit/mailer/templates/functional_test.rb @@ -1,5 +1,6 @@ require 'test_helper' +<% module_namespacing do -%> class <%= class_name %>Test < ActionMailer::TestCase <% for action in actions -%> test "<%= action %>" do @@ -18,3 +19,4 @@ class <%= class_name %>Test < ActionMailer::TestCase end <% end -%> end +<% end -%> |