From 35f01adfb03759abd6668cc1be548a734f15f240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Fri, 15 Dec 2023 08:49:16 +0100 Subject: [PATCH] test --- test/unit/custom_workflow_mailer_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/custom_workflow_mailer_test.rb b/test/unit/custom_workflow_mailer_test.rb index 551a10b..ba1dd54 100644 --- a/test/unit/custom_workflow_mailer_test.rb +++ b/test/unit/custom_workflow_mailer_test.rb @@ -54,8 +54,8 @@ def test_custom_email_template email = last_email text = text_part(email).body html = html_part(email).body - assert text.include?('Body'), "'#{Setting.host_name} expected\n'#{text}' present'" - assert html.include?('Body'), "'#{Setting.host_name} expected\n'#{html}' present'" + assert text.include?(Setting.host_name), "'#{Setting.host_name} expected\n'#{text}' present'" + assert html.include?(Setting.host_name), "'#{Setting.host_name} expected\n'#{html}' present'" end private