Test against notification email
This commit is contained in:
parent
52ed6d8e4a
commit
2c09d2a13d
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
module EmailHelpers
|
||||
def sent_to_user?(user, recipients = email_recipients)
|
||||
recipients.include?(user.email)
|
||||
recipients.include?(user.notification_email)
|
||||
end
|
||||
|
||||
def reset_delivered_emails!
|
||||
|
|
Loading…
Reference in a new issue