From 2a9a2b22e622103b753e98cfee856c7f7dabad5f Mon Sep 17 00:00:00 2001 From: Bob Van Landuyt Date: Tue, 17 Apr 2018 11:49:52 +0200 Subject: Revert "Don't include projects shared as group-descendants" This reverts commit 2c3c5b35549185080296670cfe6710aa80f99944. Revisit this after https://gitlab.com/gitlab-org/gitlab-ce/issues/45441 --- spec/finders/group_descendants_finder_spec.rb | 9 --------- 1 file changed, 9 deletions(-) (limited to 'spec/finders/group_descendants_finder_spec.rb') diff --git a/spec/finders/group_descendants_finder_spec.rb b/spec/finders/group_descendants_finder_spec.rb index 375bcc9087e..796d40cb625 100644 --- a/spec/finders/group_descendants_finder_spec.rb +++ b/spec/finders/group_descendants_finder_spec.rb @@ -35,15 +35,6 @@ describe GroupDescendantsFinder do expect(finder.execute).to contain_exactly(project) end - it 'does not include projects shared with the group' do - project = create(:project, namespace: group) - other_project = create(:project) - other_project.project_group_links.create(group: group, - group_access: ProjectGroupLink::MASTER) - - expect(finder.execute).to contain_exactly(project) - end - context 'when archived is `true`' do let(:params) { { archived: 'true' } } -- cgit v1.2.3