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...
qoobaa committed Jul 9, 2012
1 parent ad1c447 commit 5610ae2f8f786fc3f5d565cac1a91496f2c4c01b
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 [],
assert_equal "Welcome to My Awesome Site", email.subject
assert_match "<h1>Welcome to, #{}</h1>", email.body.to_s
assert_match "Welcome to, #{}", email.body.to_s
assert_match "you have joined to community", email.body.to_s

0 comments on commit 5610ae2

Please sign in to comment.