Permalink
Browse files

Update TestAttachments#test_decode_encoded_attachment_filename. At le…

…ast my patches allowed to fix an already existing test.
  • Loading branch information...
1 parent af3e54e commit f721e24c9b2058962c5c36f5dacbe738dc4c63f4 Nicolas Fouché committed Aug 7, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_attachments.rb
View
@@ -44,7 +44,7 @@ def test_decode_encoded_attachment_filename
fixture = File.read(File.dirname(__FILE__) + "/fixtures/raw_email8")
mail = TMail::Mail.parse(fixture)
attachment = mail.attachments.last
- assert_equal "01 Quien Te Dij\212at. Pitbull.mp3", attachment.original_filename unless RUBY_VERSION.match(/1.9/)
+ assert_equal "01 Quien Te Dij\302\212at. Pitbull.mp3", attachment.original_filename unless RUBY_VERSION.match(/1.9/)
end
def test_attachment_with_quoted_filename

0 comments on commit f721e24

Please sign in to comment.