Commit 2c09d2a1 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Test against notification email

parent 52ed6d8e
module EmailHelpers
def sent_to_user?(user, recipients = email_recipients)
recipients.include?(user.email)
recipients.include?(user.notification_email)
end
def reset_delivered_emails!
......
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