summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-25 13:20:20 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-25 13:20:20 +0100
commit9a0e16f4548bca25f6efc6cd7a4dd0af42b60042 (patch)
treeb980142d2b766b9da7b5888d26c974712f3dca00
parent43a3a401bdffaab2baf87f6c68f9a34a33f5b36d (diff)
downloadgitlab-ce-9a0e16f4548bca25f6efc6cd7a4dd0af42b60042.tar.gz
Fix specmention-all
-rw-r--r--spec/services/notification_service_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/services/notification_service_spec.rb b/spec/services/notification_service_spec.rb
index 213adace14b..c103752198d 100644
--- a/spec/services/notification_service_spec.rb
+++ b/spec/services/notification_service_spec.rb
@@ -127,6 +127,8 @@ describe NotificationService, services: true do
note.project.team.members.each do |member|
# User with disabled notification should not be notified
next if member.id == @u_disabled.id
+ # Author should not be notified
+ next if member.id == note.author.id
should_email(member)
end