aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_mailer_basics.textile
diff options
context:
space:
mode:
authorJakub Kuźma <kuba@jah.pl>2012-07-09 12:15:17 +0200
committerJakub Kuźma <kuba@jah.pl>2012-07-09 12:15:17 +0200
commit5610ae2f8f786fc3f5d565cac1a91496f2c4c01b (patch)
treeeb935a01a312006b1998bd85b1376af5bdc9f38c /guides/source/action_mailer_basics.textile
parentad1c447a99bcad751a10226262666d7c978279ee (diff)
downloadrails-5610ae2f8f786fc3f5d565cac1a91496f2c4c01b.tar.gz
rails-5610ae2f8f786fc3f5d565cac1a91496f2c4c01b.tar.bz2
rails-5610ae2f8f786fc3f5d565cac1a91496f2c4c01b.zip
Fixed second assert_match - previous one didn't make any sense (if the first passed, the second passed as well)
Diffstat (limited to 'guides/source/action_mailer_basics.textile')
-rw-r--r--guides/source/action_mailer_basics.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_mailer_basics.textile b/guides/source/action_mailer_basics.textile
index 07fbc9c7a1..54e55d7260 100644
--- a/guides/source/action_mailer_basics.textile
+++ b/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>