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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-13 18:08:09 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-13 18:08:09 +0300
commitaadb3204eaf8b5912e262cd19fed34fc70789e95 (patch)
treeab19fa23b4e03cfd370b96627be10e0f2aefa648 /spec/features/groups_spec.rb
parent67cddd762d819d320ea905ed068f816b354d14bc (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/groups_spec.rb')
-rw-r--r--spec/features/groups_spec.rb27
1 files changed, 0 insertions, 27 deletions
diff --git a/spec/features/groups_spec.rb b/spec/features/groups_spec.rb
index e3ec28f9c65..8806d1c2219 100644
--- a/spec/features/groups_spec.rb
+++ b/spec/features/groups_spec.rb
@@ -510,33 +510,6 @@ RSpec.describe 'Group', feature_category: :subgroups do
end
end
end
-
- context 'when in a private group' do
- before do
- group.update!(
- visibility_level: Gitlab::VisibilityLevel::PRIVATE,
- project_creation_level: Gitlab::Access::MAINTAINER_PROJECT_ACCESS
- )
- end
-
- context 'when visibility levels have been restricted to private only by an administrator' do
- before do
- stub_application_setting(
- restricted_visibility_levels: [
- Gitlab::VisibilityLevel::PRIVATE
- ]
- )
- end
-
- it 'does not display the "New project" button' do
- visit group_path(group)
-
- page.within '[data-testid="group-buttons"]' do
- expect(page).not_to have_link('New project')
- end
- end
- end
- end
end
def remove_with_confirm(button_text, confirm_with)