diff options
author | Mikel Lindsaar <raasdnil@gmail.com> | 2009-11-20 14:10:57 +1100 |
---|---|---|
committer | Mikel Lindsaar <raasdnil@gmail.com> | 2009-11-20 14:10:57 +1100 |
commit | 539d9b355f40b1668b4ad4e8fe628e0a3d9760b8 (patch) | |
tree | aad4d42ad92259b16a279711773052d4a1fa08d7 /actionmailer/test/tmail_test.rb | |
parent | 15d7cac282e29f0a8e7b38dade07abb32d97a991 (diff) | |
download | rails-539d9b355f40b1668b4ad4e8fe628e0a3d9760b8.tar.gz rails-539d9b355f40b1668b4ad4e8fe628e0a3d9760b8.tar.bz2 rails-539d9b355f40b1668b4ad4e8fe628e0a3d9760b8.zip |
More updates... 45 errors left to get it working with Mail gem
Diffstat (limited to 'actionmailer/test/tmail_test.rb')
-rw-r--r-- | actionmailer/test/tmail_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/test/tmail_test.rb b/actionmailer/test/tmail_test.rb index 2097efdd65..2a3f2a9e55 100644 --- a/actionmailer/test/tmail_test.rb +++ b/actionmailer/test/tmail_test.rb @@ -14,7 +14,7 @@ class TMailMailTest < Test::Unit::TestCase def test_nested_attachments_are_recognized_correctly fixture = File.read("#{File.dirname(__FILE__)}/fixtures/raw_email_with_nested_attachment") - mail = Mail.parse(fixture) + mail = Mail.new(fixture) assert_equal 2, mail.attachments.length assert_equal "image/png", mail.attachments.first.content_type assert_equal 1902, mail.attachments.first.length |