diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-13 18:08:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-13 18:08:09 +0300 |
commit | aadb3204eaf8b5912e262cd19fed34fc70789e95 (patch) | |
tree | ab19fa23b4e03cfd370b96627be10e0f2aefa648 /spec/features/groups_spec.rb | |
parent | 67cddd762d819d320ea905ed068f816b354d14bc (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/groups_spec.rb')
-rw-r--r-- | spec/features/groups_spec.rb | 27 |
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) |