Commit 95b1adb3 authored by Douwe Maan's avatar Douwe Maan

Merge branch 'fix-notification-spec' into 'master'

Fix notification spec

Master was broken :(

See merge request !2306
parents f6b61d19 b5414463
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment