Permalink
Browse files

Fixed second assert_match - previous one didn't make any sense (if th…

…e first passed, the second passed as well)
  • Loading branch information...
1 parent ad1c447 commit 5610ae2f8f786fc3f5d565cac1a91496f2c4c01b @qoobaa qoobaa committed Jul 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/action_mailer_basics.textile
@@ -509,7 +509,7 @@ class UserMailerTest < ActionMailer::TestCase
assert_equal [user.email], email.to
assert_equal "Welcome to My Awesome Site", email.subject
assert_match "<h1>Welcome to example.com, #{user.name}</h1>", email.body.to_s
- assert_match "Welcome to example.com, #{user.name}", email.body.to_s
+ assert_match "you have joined to example.com community", email.body.to_s
end
end
</ruby>

0 comments on commit 5610ae2

Please sign in to comment.