summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2017-08-01 12:55:04 -0700
committerhttp://jneen.net/ <jneen@jneen.net>2017-08-03 09:06:15 -0700
commitb05e6efd535990c8a54f470faa319e4b59ec12a3 (patch)
tree74f1a9c4e04b9954a23c4c5037f8651c491651a0 /spec
parentcdc4b4d7a0ef75d5ecb5e7e8e69d35cf2a3bcf1c (diff)
downloadgitlab-ce-b05e6efd535990c8a54f470faa319e4b59ec12a3.tar.gz
add builder helpers with levels and start to separate out #filter!
Diffstat (limited to 'spec')
-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 882ee7751b5..45d5d0ac9e0 100644
--- a/spec/services/notification_service_spec.rb
+++ b/spec/services/notification_service_spec.rb
@@ -309,6 +309,11 @@ describe NotificationService 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