summaryrefslogtreecommitdiff
path: root/spec/finders
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-04-17 11:49:52 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2018-04-18 17:15:52 +0200
commit2a9a2b22e622103b753e98cfee856c7f7dabad5f (patch)
tree4e6735bc1a5801d5f83058a84b61c52fbb37fc0d /spec/finders
parent1b0156204dd624f3645100d77f0eeed7e8b8e626 (diff)
downloadgitlab-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/finders')
-rw-r--r--spec/finders/group_descendants_finder_spec.rb9
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' } }