diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-10-21 18:22:09 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-10-21 18:22:09 +0800 |
commit | 2c09d2a13d83494f195fda8620e322dff7738dc5 (patch) | |
tree | 6503745cf922e10056885ff09cb5b2374f52fe9d | |
parent | 52ed6d8e4ab90b6a467e70aa6ce629e4781a8885 (diff) | |
download | gitlab-ce-2c09d2a13d83494f195fda8620e322dff7738dc5.tar.gz |
Test against notification email
-rw-r--r-- | spec/support/email_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/email_helpers.rb b/spec/support/email_helpers.rb index a946f10f71a..3e979f2f470 100644 --- a/spec/support/email_helpers.rb +++ b/spec/support/email_helpers.rb @@ -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! |