Permalink
Browse files

Fixing test, ; is a delimiter, not a termination character, ref RFC 2045

  • Loading branch information...
1 parent 2bcc2eb commit 63002ba36b858ca2aea814579193db9e1511d1fd @mikel mikel committed Mar 28, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionmailer/test/old_base/mail_service_test.rb
View
4 actionmailer/test/old_base/mail_service_test.rb
@@ -1019,8 +1019,8 @@ def test_decode_message_with_unknown_charset
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

0 comments on commit 63002ba

Please sign in to comment.