fix reminder mailing system test

parent eeb3ce4a
Pipeline #40181 passed with stage
in 36 minutes and 28 seconds
...@@ -157,7 +157,8 @@ class ReminderMailingsTest < ApplicationSystemTestCase ...@@ -157,7 +157,8 @@ class ReminderMailingsTest < ApplicationSystemTestCase
assert_equal "Beendigung Gruppenangebot #{group_offer.title} (#{group_offer.department})", assert_equal "Beendigung Gruppenangebot #{group_offer.title} (#{group_offer.department})",
mailer.subject mailer.subject
assert_includes mail_body, "#{group_assignment.volunteer.contact.natural_name} Halbjahres-Rapport erstellen"
assert_includes mail_body, "#{group_assignment.volunteer.contact.natural_name} Abschlussevaluations-Feedback erstellen"
assert_includes mail_body, "#{I18n.l group_assignment.period_start} Gruss, AOZ" assert_includes mail_body, "#{I18n.l group_assignment.period_start} Gruss, AOZ"
refute_includes mailer.subject, '%{' refute_includes mailer.subject, '%{'
refute_includes mail_body, '%{' refute_includes mail_body, '%{'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment