From 63002ba36b858ca2aea814579193db9e1511d1fd Mon Sep 17 00:00:00 2001 From: Mikel Lindsaar Date: Sun, 28 Mar 2010 15:24:35 +1100 Subject: Fixing test, ; is a delimiter, not a termination character, ref RFC 2045 --- actionmailer/test/old_base/mail_service_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionmailer') diff --git a/actionmailer/test/old_base/mail_service_test.rb b/actionmailer/test/old_base/mail_service_test.rb index e49307bfda..8a677df9a8 100644 --- a/actionmailer/test/old_base/mail_service_test.rb +++ b/actionmailer/test/old_base/mail_service_test.rb @@ -1019,8 +1019,8 @@ EOF def test_empty_header_values_omitted result = TestMailer.unnamed_attachment(@recipient).encoded - assert_match %r{Content-Type: application/octet-stream;}, result - assert_match %r{Content-Disposition: attachment;}, result + assert_match %r{Content-Type: application/octet-stream}, result + assert_match %r{Content-Disposition: attachment}, result end def test_headers_with_nonalpha_chars -- cgit v1.2.3