From 5610ae2f8f786fc3f5d565cac1a91496f2c4c01b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ku=C5=BAma?= <kuba@jah.pl> Date: Mon, 9 Jul 2012 12:15:17 +0200 Subject: Fixed second assert_match - previous one didn't make any sense (if the first passed, the second passed as well) --- guides/source/action_mailer_basics.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides') 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> -- cgit v1.2.3