Fix notification spec
This commit is contained in:
parent
8de1f7159c
commit
b541446389
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ describe NotificationService, services: true do
|
|||
add_users_with_subscription(note.project, issue)
|
||||
|
||||
# Ensure create SentNotification by noteable = issue 6 times, not noteable = note
|
||||
expect(SentNotification).to receive(:record).with(issue, any_args).exactly(6).times
|
||||
expect(SentNotification).to receive(:record).with(issue, any_args).exactly(7).times
|
||||
|
||||
ActionMailer::Base.deliveries.clear
|
||||
|
||||
|
|
Loading…
Reference in a new issue