Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

@user -> user in example of Action Mailer guide, thanks to Robert

  • Loading branch information...
commit b4e11dfdac85bb089f256499cc3ffb6ec7672f8a 1 parent 0ab2e5f
@fxn fxn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/source/action_mailer_basics.textile
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.