summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2016-01-05 18:17:55 +0100
committerDouwe Maan <douwe@gitlab.com>2016-01-05 18:17:55 +0100
commitb541446389c5d450cc7220b949d29d70528a51f1 (patch)
tree50531a2f1e5d9718b53a6527a976a8d16f3ce8d0
parent8de1f7159c5141abe60c6679960f2008482e32bf (diff)
downloadgitlab-ce-fix-notification-spec.tar.gz
Fix notification specfix-notification-spec
-rw-r--r--spec/services/notification_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/notification_service_spec.rb b/spec/services/notification_service_spec.rb
index b5c7b01357a..6d219f35895 100644
--- a/spec/services/notification_service_spec.rb
+++ b/spec/services/notification_service_spec.rb
@@ -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