Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-10-21 13:22:09 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-10-21 13:22:09 +0300
commit2c09d2a13d83494f195fda8620e322dff7738dc5 (patch)
tree6503745cf922e10056885ff09cb5b2374f52fe9d /spec/support/email_helpers.rb
parent52ed6d8e4ab90b6a467e70aa6ce629e4781a8885 (diff)
Test against notification email
Diffstat (limited to 'spec/support/email_helpers.rb')
-rw-r--r--spec/support/email_helpers.rb2
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!