提交 95b1adb3 编写于 作者: D Douwe Maan

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

Fix notification spec

Master was broken :(

See merge request !2306
...@@ -53,7 +53,7 @@ describe NotificationService, services: true do ...@@ -53,7 +53,7 @@ describe NotificationService, services: true do
add_users_with_subscription(note.project, issue) add_users_with_subscription(note.project, issue)
# Ensure create SentNotification by noteable = issue 6 times, not noteable = note # 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 ActionMailer::Base.deliveries.clear
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册