diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-04-17 11:49:52 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-04-18 17:15:52 +0200 |
commit | 2a9a2b22e622103b753e98cfee856c7f7dabad5f (patch) | |
tree | 4e6735bc1a5801d5f83058a84b61c52fbb37fc0d /spec | |
parent | 1b0156204dd624f3645100d77f0eeed7e8b8e626 (diff) | |
download | gitlab-ce-2a9a2b22e622103b753e98cfee856c7f7dabad5f.tar.gz |
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
Diffstat (limited to 'spec')
-rw-r--r-- | spec/finders/group_descendants_finder_spec.rb | 9 |
1 files changed, 0 insertions, 9 deletions
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' } } |