diff options
author | José Valim <jose.valim@gmail.com> | 2009-12-27 12:18:46 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-12-27 12:18:46 +0100 |
commit | 4747a9a57ef4af8cd5172c9da5198cd632adce83 (patch) | |
tree | f90f9e33cb52905fce26bdea0a7c2768e10cc82e /actionmailer/test/test_helper_test.rb | |
parent | 47e5caa96bffc04c8c0b287a975a609fb048e530 (diff) | |
download | rails-4747a9a57ef4af8cd5172c9da5198cd632adce83.tar.gz rails-4747a9a57ef4af8cd5172c9da5198cd632adce83.tar.bz2 rails-4747a9a57ef4af8cd5172c9da5198cd632adce83.zip |
Getting rid of some warnings in AM suite.
Diffstat (limited to 'actionmailer/test/test_helper_test.rb')
-rw-r--r-- | actionmailer/test/test_helper_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionmailer/test/test_helper_test.rb b/actionmailer/test/test_helper_test.rb index 8e4254411c..86d22da9bf 100644 --- a/actionmailer/test/test_helper_test.rb +++ b/actionmailer/test/test_helper_test.rb @@ -92,7 +92,7 @@ class TestHelperMailerTest < ActionMailer::TestCase end end - assert_match /2 .* but 1/, error.message + assert_match(/2 .* but 1/, error.message) end def test_assert_emails_too_many_sent @@ -103,7 +103,7 @@ class TestHelperMailerTest < ActionMailer::TestCase end end - assert_match /1 .* but 2/, error.message + assert_match(/1 .* but 2/, error.message) end def test_assert_no_emails_failure @@ -113,7 +113,7 @@ class TestHelperMailerTest < ActionMailer::TestCase end end - assert_match /0 .* but 1/, error.message + assert_match(/0 .* but 1/, error.message) end end |