diff options
author | Xavier Noria <fxn@hashref.com> | 2009-09-15 23:02:12 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2009-09-15 23:21:28 +0200 |
commit | b4e11dfdac85bb089f256499cc3ffb6ec7672f8a (patch) | |
tree | b7c5a2926c2d8baed43dabfb0dffde9fda76172e | |
parent | 0ab2e5f45b4603de04f36b48fd423920c6083fa4 (diff) | |
download | rails-b4e11dfdac85bb089f256499cc3ffb6ec7672f8a.tar.gz rails-b4e11dfdac85bb089f256499cc3ffb6ec7672f8a.tar.bz2 rails-b4e11dfdac85bb089f256499cc3ffb6ec7672f8a.zip |
@user -> user in example of Action Mailer guide, thanks to Robert
-rw-r--r-- | railties/guides/source/action_mailer_basics.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/action_mailer_basics.textile b/railties/guides/source/action_mailer_basics.textile index 2e7f0e7fed..408ee29738 100644 --- a/railties/guides/source/action_mailer_basics.textile +++ b/railties/guides/source/action_mailer_basics.textile @@ -412,7 +412,7 @@ class UserMailerTest < ActionMailer::TestCase assert !ActionMailer::Base.deliveries.empty? # Test the body of the sent email contains what we expect it to - assert_equal [@user.email], email.to + assert_equal [user.email], email.to assert_equal "Welcome to My Awesome Site", email.subject assert_match /Welcome to example.com, #{user.first_name}/, email.body end |