diff options
Diffstat (limited to 'spec/features/projects/settings')
-rw-r--r-- | spec/features/projects/settings/registry_settings_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/features/projects/settings/registry_settings_spec.rb b/spec/features/projects/settings/registry_settings_spec.rb index 4c5bc290402..fc1a85c3efe 100644 --- a/spec/features/projects/settings/registry_settings_spec.rb +++ b/spec/features/projects/settings/registry_settings_spec.rb @@ -10,7 +10,6 @@ describe 'Project > Settings > CI/CD > Container registry tag expiration policy' before do sign_in(user) stub_container_registry_config(enabled: true) - stub_feature_flags(registry_retention_policies_settings: true) end context 'as owner' do @@ -63,15 +62,4 @@ describe 'Project > Settings > CI/CD > Container registry tag expiration policy' expect(page).not_to have_selector('#js-registry-policies') end end - - context 'when feature flag is disabled' do - before do - stub_feature_flags(registry_retention_policies_settings: false) - visit project_settings_ci_cd_path(project) - end - - it 'does not exists' do - expect(page).not_to have_selector('#js-registry-policies') - end - end end |