diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-01-06 12:05:27 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-01-06 12:05:27 +0000 |
commit | 95b1adb3394851132ea7ecb3104e9a857bdad82f (patch) | |
tree | 9353fbfd1e04aa24a347bd72bfa7c47163d3a57c /spec | |
parent | f6b61d1948f99039a5087ac8f49ad390a4a6565a (diff) | |
parent | b541446389c5d450cc7220b949d29d70528a51f1 (diff) | |
download | gitlab-ce-95b1adb3394851132ea7ecb3104e9a857bdad82f.tar.gz |
Merge branch 'fix-notification-spec' into 'master'
Fix notification spec
Master was broken :(
See merge request !2306
Diffstat (limited to 'spec')
-rw-r--r-- | spec/services/notification_service_spec.rb | 2 |
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 |