Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-06-17 18:26:32 +0300
committerFelipe Artur <felipefac@gmail.com>2016-06-17 18:33:11 +0300
commitab236c76247d83c190b148acbffa48f244414553 (patch)
tree69b17bdec6f52d96d1e4d7a807f3432263ef3cd4 /spec/services
parenta4b078bfb8b99a9852eb55abd498d65a374375e3 (diff)
Allow users to set custom notifications in projects they don't own and several fixes to code
Diffstat (limited to 'spec/services')
-rw-r--r--spec/services/notification_service_spec.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/services/notification_service_spec.rb b/spec/services/notification_service_spec.rb
index c4edb8c3fd0..776a6ab5edb 100644
--- a/spec/services/notification_service_spec.rb
+++ b/spec/services/notification_service_spec.rb
@@ -146,9 +146,6 @@ describe NotificationService, services: true do
let(:note) { create(:note_on_issue, noteable: confidential_issue, project: project, note: "#{author.to_reference} #{assignee.to_reference} #{non_member.to_reference} #{member.to_reference} #{admin.to_reference}") }
let(:guest_watcher) { create_user_with_notification(:watch, "guest-watcher-confidential") }
- before do
- end
-
it 'filters out users that can not read the issue' do
project.team << [member, :developer]
project.team << [guest, :guest]