diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-08-04 09:54:52 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-08-04 09:54:52 +0000 |
commit | ee908e2382632508e45cc777b33b3c7367d3238f (patch) | |
tree | ac6fefb23dc66414ee62b1340b6b4da47725bc73 /spec/services/notification_service_spec.rb | |
parent | 6686661beb3d0c709f523e2b4ce223e611d1e803 (diff) | |
parent | 120fd3b3aea9cda81384c6488a1136c176ab3965 (diff) | |
download | gitlab-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.rb | 5 |
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 |