public
Fork of NZKoz/koz-rails
Description: Koz's rails git-svn clone
Homepage: http://www.rubyonrails.org
Clone URL: git://github.com/eventualbuddha/koz-rails.git
Search Repo:
Remove empty .rhtml templates

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8820 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
bitsweat (author)
Thu Feb 07 15:10:01 -0800 2008
commit  021229b9f79262e8ce2d9fa41a8d3d7e2fffec85
tree    1d9ffc8eb1c967b884eebb33efcd70708da13bcb
parent  215f5d04c95450146384c2f5d7fce054fe8bb18c
...
767
768
769
770
 
771
772
773
774
775
 
 
 
776
777
778
779
780
781
782
783
 
784
785
786
 
 
787
788
789
...
767
768
769
 
770
771
772
773
774
 
775
776
777
778
 
 
779
780
781
782
 
783
784
 
 
785
786
787
788
789
0
@@ -767,23 +767,23 @@
0
 
0
   def test_implicitly_multipart_messages
0
     mail = TestMailer.create_implicitly_multipart_example(@recipient)
0
- assert_equal 6, mail.parts.length
0
+ assert_equal 3, mail.parts.length
0
     assert_equal "1.0", mail.mime_version
0
     assert_equal "multipart/alternative", mail.content_type
0
     assert_equal "text/yaml", mail.parts[0].content_type
0
     assert_equal "utf-8", mail.parts[0].sub_header("content-type", "charset")
0
- assert_equal "text/plain", mail.parts[2].content_type
0
+ assert_equal "text/plain", mail.parts[1].content_type
0
+ assert_equal "utf-8", mail.parts[1].sub_header("content-type", "charset")
0
+ assert_equal "text/html", mail.parts[2].content_type
0
     assert_equal "utf-8", mail.parts[2].sub_header("content-type", "charset")
0
- assert_equal "text/html", mail.parts[4].content_type
0
- assert_equal "utf-8", mail.parts[4].sub_header("content-type", "charset")
0
   end
0
 
0
   def test_implicitly_multipart_messages_with_custom_order
0
     mail = TestMailer.create_implicitly_multipart_example(@recipient, nil, ["text/yaml", "text/plain"])
0
- assert_equal 6, mail.parts.length
0
+ assert_equal 3, mail.parts.length
0
     assert_equal "text/html", mail.parts[0].content_type
0
- assert_equal "text/plain", mail.parts[2].content_type
0
- assert_equal "text/yaml", mail.parts[4].content_type
0
+ assert_equal "text/plain", mail.parts[1].content_type
0
+ assert_equal "text/yaml", mail.parts[2].content_type
0
   end
0
 
0
   def test_implicitly_multipart_messages_with_charset

Comments

    No one has commented yet.