From 1a793575a21f4badf7ba66a354b6e13b34cf8c54 Mon Sep 17 00:00:00 2001 From: Juno NISHIZAKI Date: Sun, 15 May 2022 07:38:19 +0000 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC23=E5=9B=9E=20=E8=BF=BD=E5=8A=A0?= =?UTF-8?q?=E3=81=97=E3=81=9F=E3=83=A1=E3=82=BD=E3=83=83=E3=83=89=E3=81=AE?= =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88=E3=81=B2=E3=81=AA=E5=BD=A2=E3=82=92?= =?UTF-8?q?=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/unit/mailer_test.rb | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/test/unit/mailer_test.rb b/test/unit/mailer_test.rb index 40461b65b..58a3fc27c 100644 --- a/test/unit/mailer_test.rb +++ b/test/unit/mailer_test.rb @@ -382,6 +382,10 @@ def test_message_posted_message_id end end + def test_message_posted_should_include_recipients_on_mail_footer + flunk 'Not Implemented' + end + def test_reply_posted_message_id set_tmp_attachments_directory message = Message.find(3) @@ -703,6 +707,12 @@ def test_document_added_should_include_recipients_on_mail_footer end end + def test_documents_file_added_should_include_recipients_on_mail_footer + # def test_attachments_added_should_include_recipients_on_mail_footer + # Mailer.deliver_attachments_added(document, author) + flunk 'Not Implemented' + end + def test_issue_should_send_email_notification_with_suppress_empty_fields ActionMailer::Base.deliveries.clear with_settings :notified_events => %w(issue_added) do @@ -753,6 +763,11 @@ def test_version_file_added end end + def test_version_file_added_should_include_recipients_on_mail_footer + # def test_attachments_added_should_include_recipients_on_mail_footer + flunk 'Not Implemented' + end + def test_project_file_added attachements = [Attachment.find_by_container_type('Project')] assert Mailer.deliver_attachments_added(attachements) @@ -763,6 +778,11 @@ def test_project_file_added end end + def test_project_file_added_should_include_recipients_on_mail_footer + # def test_attachments_added_should_include_recipients_on_mail_footer + flunk 'Not Implemented' + end + def test_news_added_should_notify_project_news_watchers set_tmp_attachments_directory user1 = User.generate! @@ -787,6 +807,14 @@ def test_news_added_should_notify_project_news_watchers end end + def test_news_added_should_include_recipients_on_mail_footer + flunk 'Not Implemented' + end + + def test_news_comments_added_should_include_recipients_on_mail_footer + flunk 'Not Implemented' + end + def test_wiki_content_added content = WikiContent.find(1) assert_difference 'ActionMailer::Base.deliveries.size', 2 do @@ -813,6 +841,10 @@ def test_wiki_content_added_should_notify_mentioned_users_in_content assert_include User.find(1).mail, recipients end + def test_wiki_content_added_should_include_recipients_on_mail_footer + flunk 'Not Implemented' + end + def test_wiki_content_updated content = WikiContent.find(1) assert Mailer.deliver_wiki_content_updated(content) @@ -838,6 +870,10 @@ def test_wiki_content_updated_should_notify_mentioned_users_in_updated_content assert_include User.find(1).mail, recipients end + def test_wiki_content_updated_should_include_recipients_on_mail_footer + flunk 'Not Implemented' + end + def test_register token = Token.find(1) assert Mailer.deliver_register(token.user, token) @@ -848,6 +884,10 @@ def test_register end end + def test_account_activation_request_should_include_recipients_on_mail_footer + flunk 'Not Implemented' + end + def test_test_email_later user = User.find(1) assert Mailer.test_email(user).deliver_later @@ -1091,6 +1131,16 @@ def test_security_notification_should_include_link end end + def test_security_notification_should_include_recipients_on_mail_footer + # 管理者を追加削除すると送信される + flunk 'Not Implemented' + end + + def test_settings_updated_should_include_recipients_on_mail_footer + # リポジトリを変えると送信される + flunk 'Not Implemented' + end + def test_mailer_should_not_change_locale # Set current language to italian set_language_if_valid 'it'