diff options
author | José Valim <jose.valim@gmail.com> | 2010-03-26 20:25:54 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-26 20:25:54 +0100 |
commit | b3a0aed028835ce4551c4a76742744a40a71b0be (patch) | |
tree | bba783033744decff397b885025edd7f83aaad44 | |
parent | 395d6648ce7549f71dd0a76dc061e87f608aaaab (diff) | |
download | rails-b3a0aed028835ce4551c4a76742744a40a71b0be.tar.gz rails-b3a0aed028835ce4551c4a76742744a40a71b0be.tar.bz2 rails-b3a0aed028835ce4551c4a76742744a40a71b0be.zip |
Just assert for 'Hi' in generated mailer tests.
-rw-r--r-- | railties/lib/rails/generators/test_unit/mailer/templates/functional_test.rb | 2 |
1 files changed, 1 insertions, 1 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 0d7c517557..80ac7f0feb 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 @@ -7,7 +7,7 @@ class <%= class_name %>Test < ActionMailer::TestCase assert_equal <%= action.to_s.humanize.inspect %>, mail.subject assert_equal ["to@example.org"], mail.to assert_equal ["from@example.com"], mail.from - assert_match "Hi, find me in app", mail.body.encoded + assert_match "Hi", mail.body.encoded end <% end -%> |