From 218417b8a93f3c13c9328669db2a1baa60c53562 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 7 Feb 2008 23:10:01 +0000 Subject: [PATCH] Remove empty .rhtml templates git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- .../test/fixtures/first_mailer/share.rhtml | 0 .../helper_mailer/use_example_helper.rhtml | 0 .../test/fixtures/helper_mailer/use_helper.rhtml | 0 .../fixtures/helper_mailer/use_helper_method.rhtml | 0 .../fixtures/helper_mailer/use_mail_helper.rhtml | 0 .../multipart_with_template_path_with_dots.rhtml | 0 .../multipart_with_template_path_with_dots.rhtml | 0 .../test/fixtures/second_mailer/share.rhtml | 0 .../test/fixtures/templates/signed_up.rhtml | 0 .../implicitly_multipart_example.ignored.rhtml | 0 .../implicitly_multipart_example.text.html.rhtml | 0 .../implicitly_multipart_example.text.plain.rhtml | 0 .../implicitly_multipart_example.text.yaml.rhtml | 0 .../test/fixtures/test_mailer/signed_up.rhtml | 0 .../fixtures/test_mailer/signed_up_with_url.rhtml | 0 actionmailer/test/mail_service_test.rb | 14 +++++++------- 16 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 actionmailer/test/fixtures/first_mailer/share.rhtml delete mode 100644 actionmailer/test/fixtures/helper_mailer/use_example_helper.rhtml delete mode 100644 actionmailer/test/fixtures/helper_mailer/use_helper.rhtml delete mode 100644 actionmailer/test/fixtures/helper_mailer/use_helper_method.rhtml delete mode 100644 actionmailer/test/fixtures/helper_mailer/use_mail_helper.rhtml delete mode 100644 actionmailer/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.rhtml delete mode 100644 actionmailer/test/fixtures/path.with.dots/multipart_with_template_path_with_dots.rhtml delete mode 100644 actionmailer/test/fixtures/second_mailer/share.rhtml delete mode 100644 actionmailer/test/fixtures/templates/signed_up.rhtml delete mode 100644 actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.rhtml delete mode 100644 actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.html.rhtml delete mode 100644 actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.rhtml delete mode 100644 actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.rhtml delete mode 100644 actionmailer/test/fixtures/test_mailer/signed_up.rhtml delete mode 100644 actionmailer/test/fixtures/test_mailer/signed_up_with_url.rhtml diff --git a/actionmailer/test/fixtures/first_mailer/share.rhtml b/actionmailer/test/fixtures/first_mailer/share.rhtml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/actionmailer/test/fixtures/helper_mailer/use_example_helper.rhtml b/actionmailer/test/fixtures/helper_mailer/use_example_helper.rhtml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/actionmailer/test/fixtures/helper_mailer/use_helper.rhtml b/actionmailer/test/fixtures/helper_mailer/use_helper.rhtml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/actionmailer/test/fixtures/helper_mailer/use_helper_method.rhtml b/actionmailer/test/fixtures/helper_mailer/use_helper_method.rhtml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/actionmailer/test/fixtures/helper_mailer/use_mail_helper.rhtml b/actionmailer/test/fixtures/helper_mailer/use_mail_helper.rhtml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/actionmailer/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.rhtml b/actionmailer/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.rhtml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/actionmailer/test/fixtures/path.with.dots/multipart_with_template_path_with_dots.rhtml b/actionmailer/test/fixtures/path.with.dots/multipart_with_template_path_with_dots.rhtml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/actionmailer/test/fixtures/second_mailer/share.rhtml b/actionmailer/test/fixtures/second_mailer/share.rhtml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/actionmailer/test/fixtures/templates/signed_up.rhtml b/actionmailer/test/fixtures/templates/signed_up.rhtml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.rhtml b/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.rhtml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.html.rhtml b/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.html.rhtml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.rhtml b/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.rhtml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.rhtml b/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.rhtml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/actionmailer/test/fixtures/test_mailer/signed_up.rhtml b/actionmailer/test/fixtures/test_mailer/signed_up.rhtml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/actionmailer/test/fixtures/test_mailer/signed_up_with_url.rhtml b/actionmailer/test/fixtures/test_mailer/signed_up_with_url.rhtml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb index 91161e9ddb..0755f51045 100755 --- a/actionmailer/test/mail_service_test.rb +++ b/actionmailer/test/mail_service_test.rb @@ -767,23 +767,23 @@ EOF def test_implicitly_multipart_messages mail = TestMailer.create_implicitly_multipart_example(@recipient) - assert_equal 6, mail.parts.length + assert_equal 3, mail.parts.length assert_equal "1.0", mail.mime_version assert_equal "multipart/alternative", mail.content_type assert_equal "text/yaml", mail.parts[0].content_type assert_equal "utf-8", mail.parts[0].sub_header("content-type", "charset") - assert_equal "text/plain", mail.parts[2].content_type + assert_equal "text/plain", mail.parts[1].content_type + assert_equal "utf-8", mail.parts[1].sub_header("content-type", "charset") + assert_equal "text/html", mail.parts[2].content_type assert_equal "utf-8", mail.parts[2].sub_header("content-type", "charset") - assert_equal "text/html", mail.parts[4].content_type - assert_equal "utf-8", mail.parts[4].sub_header("content-type", "charset") end def test_implicitly_multipart_messages_with_custom_order mail = TestMailer.create_implicitly_multipart_example(@recipient, nil, ["text/yaml", "text/plain"]) - assert_equal 6, mail.parts.length + assert_equal 3, mail.parts.length assert_equal "text/html", mail.parts[0].content_type - assert_equal "text/plain", mail.parts[2].content_type - assert_equal "text/yaml", mail.parts[4].content_type + assert_equal "text/plain", mail.parts[1].content_type + assert_equal "text/yaml", mail.parts[2].content_type end def test_implicitly_multipart_messages_with_charset