diff options
author | Mikel Lindsaar <raasdnil@gmail.com> | 2010-01-27 10:35:56 +1100 |
---|---|---|
committer | Mikel Lindsaar <raasdnil@gmail.com> | 2010-01-27 10:35:56 +1100 |
commit | 458b6a7fc905a23643fc0d26146e6bf230c9c472 (patch) | |
tree | cd7ac3efe68ba0a1c8d5fd52400c44051379b39d /railties/lib/generators | |
parent | beda2d43d6ac5c3435fc2fba0cbd108c20fe1c67 (diff) | |
download | rails-458b6a7fc905a23643fc0d26146e6bf230c9c472.tar.gz rails-458b6a7fc905a23643fc0d26146e6bf230c9c472.tar.bz2 rails-458b6a7fc905a23643fc0d26146e6bf230c9c472.zip |
Fixing mailer generators to use the right email address
Diffstat (limited to 'railties/lib/generators')
-rw-r--r-- | railties/lib/generators/test_unit/mailer/templates/functional_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/test_unit/mailer/templates/functional_test.rb b/railties/lib/generators/test_unit/mailer/templates/functional_test.rb index fcebb40135..e1aeb2db90 100644 --- a/railties/lib/generators/test_unit/mailer/templates/functional_test.rb +++ b/railties/lib/generators/test_unit/mailer/templates/functional_test.rb @@ -4,7 +4,7 @@ class <%= class_name %>Test < ActionMailer::TestCase <% for action in actions -%> test "<%= action %>" do @expected.subject = <%= action.to_s.humanize.inspect %> - @expected.to = "to@example.com" + @expected.to = "to@example.org" @expected.from = "from@example.com" @expected.body = read_fixture("<%= action %>") @expected.date = Time.now |