diff options
author | José Valim and Mikel Lindsaar <raasdnil@gmail.com> | 2010-01-22 12:46:19 +1100 |
---|---|---|
committer | José Valim and Mikel Lindsaar <raasdnil@gmail.com> | 2010-01-22 12:46:19 +1100 |
commit | 12c001fec449864db64eca9ba3a477a7da30b2ba (patch) | |
tree | ef1712cee7d77b9cc069fcdf24fc4d71622bf779 /actionmailer/test | |
parent | 3829f9ecfd6fcd54edbc15f624ee3b68f6dae135 (diff) | |
download | rails-12c001fec449864db64eca9ba3a477a7da30b2ba.tar.gz rails-12c001fec449864db64eca9ba3a477a7da30b2ba.tar.bz2 rails-12c001fec449864db64eca9ba3a477a7da30b2ba.zip |
Updating deprecated API to sanitize old style attachments hash to work with new mail.attachments method
Diffstat (limited to 'actionmailer/test')
-rw-r--r-- | actionmailer/test/mail_service_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb index f83e13f16f..51d722ea00 100644 --- a/actionmailer/test/mail_service_test.rb +++ b/actionmailer/test/mail_service_test.rb @@ -1036,7 +1036,7 @@ EOF def test_empty_header_values_omitted result = TestMailer.create_unnamed_attachment(@recipient).encoded assert_match %r{Content-Type: application/octet-stream;}, result - assert_match %r{Content-Disposition: attachment[^;]}, result + assert_match %r{Content-Disposition: attachment;}, result end def test_headers_with_nonalpha_chars |