I'm sure we have some but we should probably make sure we have a test that at least checks each of the following cases - especially the ones to make sure emails are being sent (in a test as long as we're calling the correct email function, we don't actually have to send an email from the test)
Creating a task - emails sent out correctly
Deleting a task
Editing a task
Adding comments to a task - emails sent out correctly
Editing comments
Deleting comments
Task completing/incompleting by assignee - sends email to assignors
Task completing/incompleting by assignor - sends email to assignee
Task completed/incompleted by other (i.e. org admin completes a task for a student that that student's mentor assigned to him) - sends emails to mentor and student
I'm sure we have some but we should probably make sure we have a test that at least checks each of the following cases - especially the ones to make sure emails are being sent (in a test as long as we're calling the correct email function, we don't actually have to send an email from the test)
Creating a task - emails sent out correctly Deleting a task Editing a task Adding comments to a task - emails sent out correctly Editing comments Deleting comments Task completing/incompleting by assignee - sends email to assignors Task completing/incompleting by assignor - sends email to assignee Task completed/incompleted by other (i.e. org admin completes a task for a student that that student's mentor assigned to him) - sends emails to mentor and student