Commit 991cff5e authored by Tugce Nur Tas's avatar Tugce Nur Tas
Browse files

review changes

parent 40f273ea
Pipeline #13991 passed with stage
in 23 minutes and 49 seconds
class NotificationMailer < ApplicationMailer
def termination_submitted(assignment)
@assignment || @group_assignment = assignment
@assignment = @group_assignment = assignment
@subject = 'Beendigung des Einsatzes bestätigt durch ' +
......@@ -104,6 +104,7 @@ class GroupAssignmentTerminatesTest < ApplicationSystemTestCase
test 'termination triggers notification email to creator' do
@group_assignment.update(period_end: 2.days.ago)
login_as @volunteer.user
visit terminate_group_assignment_path(@group_assignment)
Supports Markdown
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