diff options
author | Arun Agrawal <arun@fromjaipur.com> | 2011-09-04 08:24:02 +0530 |
---|---|---|
committer | Arun Agrawal <arun@fromjaipur.com> | 2011-09-04 08:24:02 +0530 |
commit | a6c60222c580e4002152b1ac1857673038b1fd42 (patch) | |
tree | fd7474d989ca79c655766109002e66b209529717 /railties/guides/source/action_mailer_basics.textile | |
parent | c8d0dc376a72b976ccef17b8d0b413961b306a5f (diff) | |
download | rails-a6c60222c580e4002152b1ac1857673038b1fd42.tar.gz rails-a6c60222c580e4002152b1ac1857673038b1fd42.tar.bz2 rails-a6c60222c580e4002152b1ac1857673038b1fd42.zip |
Modified content in guides and comments
for "assert /" warnings.
Removed because if somebody will use this code
they will get warnings!
Diffstat (limited to 'railties/guides/source/action_mailer_basics.textile')
-rw-r--r-- | railties/guides/source/action_mailer_basics.textile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/action_mailer_basics.textile b/railties/guides/source/action_mailer_basics.textile index 351a4498b1..67761645fa 100644 --- a/railties/guides/source/action_mailer_basics.textile +++ b/railties/guides/source/action_mailer_basics.textile @@ -514,8 +514,8 @@ class UserMailerTest < ActionMailer::TestCase # Test the body of the sent email contains what we expect it to 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.encoded - assert_match /Welcome to example.com, #{user.name}/, email.encoded + assert_match(/<h1>Welcome to example.com, #{user.name}<\/h1>/, email.encoded) + assert_match(/Welcome to example.com, #{user.name}/, email.encoded) end end </ruby> |