fix some specs failing due text changes

parent f44193bc
Pipeline #40128 passed with stage
in 41 minutes and 2 seconds
......@@ -27,9 +27,10 @@ class EventsXlsxExportTest < ActionDispatch::IntegrationTest
assert_xls_cols_equal(wb, 6, 0, 'Datum', I18n.l(@event.date))
assert_xls_cols_equal(wb, 7, 0, 'Beschreibung', @event.description)
assert_xls_cols_equal(wb, 12, 0, 'Teilnehmeranzahl', @event.volunteers.count)
assert_xls_cols_equal(wb, 15, 0, 'Name', 'Mailadresse', 'Beginn als FW', 'Adresse', 'Telefon', 'Jahrgang')
assert_xls_cols_equal(wb, 15, 0, 'Vorname', 'Nachname', 'Mailadresse', 'Beginn als FW', 'Adresse', 'Telefon', 'Jahrgang')
assert_xls_cols_equal(wb, 16, 0,
@event_volunteer.volunteer.full_name,
@event_volunteer.volunteer.contact.first_name,
@event_volunteer.volunteer.contact.last_name,
@event_volunteer.volunteer.contact.primary_email,
I18n.l(@event_volunteer.volunteer.accepted_at.to_date),
@event_volunteer.volunteer.contact.full_address,
......
......@@ -112,7 +112,7 @@ class ReminderMailingsTest < ApplicationSystemTestCase
first('input[type="submit"]').click
assert page.has_text? 'Erinnerungs-Mailing wurde erfolgreich erstellt.'
assert page.has_text? 'Art Beendigung'
assert page.has_text? 'Art Abschlussevaluation'
assert page.has_text? 'Status Nicht versandt'
assert page.has_text?(@volunteer_assignment.reminder_mailing_volunteers.first.process_template[:subject])
......
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