Fix spec
This commit is contained in:
parent
43a3a401bd
commit
9a0e16f454
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue