From ab236c76247d83c190b148acbffa48f244414553 Mon Sep 17 00:00:00 2001 From: Felipe Artur Date: Fri, 17 Jun 2016 12:26:32 -0300 Subject: Allow users to set custom notifications in projects they don't own and several fixes to code --- spec/services/notification_service_spec.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'spec/services') 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] -- cgit v1.2.1