summaryrefslogtreecommitdiff
path: root/spec/services/notification_service_spec.rb
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-08-04 09:54:52 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-08-04 09:54:52 +0000
commitee908e2382632508e45cc777b33b3c7367d3238f (patch)
treeac6fefb23dc66414ee62b1340b6b4da47725bc73 /spec/services/notification_service_spec.rb
parent6686661beb3d0c709f523e2b4ce223e611d1e803 (diff)
parent120fd3b3aea9cda81384c6488a1136c176ab3965 (diff)
downloadgitlab-ce-ee908e2382632508e45cc777b33b3c7367d3238f.tar.gz
Merge branch 'refactor.notification-recipient-builders' into 'master'
Refactor.notification recipient builders See merge request !13197
Diffstat (limited to 'spec/services/notification_service_spec.rb')
-rw-r--r--spec/services/notification_service_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/services/notification_service_spec.rb b/spec/services/notification_service_spec.rb
index 5354591642b..6af5c79135d 100644
--- a/spec/services/notification_service_spec.rb
+++ b/spec/services/notification_service_spec.rb
@@ -306,6 +306,11 @@ describe NotificationService, :mailer do
before do
build_team(note.project)
+
+ # make sure these users can read the project snippet!
+ project.add_guest(@u_guest_watcher)
+ project.add_guest(@u_guest_custom)
+
note.project.add_master(note.author)
reset_delivered_emails!
end