diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-24 03:11:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-24 03:11:30 +0300 |
commit | 1dd92924325105bb04d8900ac2577e59eb39f603 (patch) | |
tree | 0639fdc40eb357eb3fab79155e1e59076fbc1cec /spec/requests | |
parent | a0686b4653208e66c768b63e249bd73406f9e267 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/graphql/mutations/namespace/package_settings/update_spec.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/requests/api/graphql/mutations/namespace/package_settings/update_spec.rb b/spec/requests/api/graphql/mutations/namespace/package_settings/update_spec.rb index 480e184a60c..738dc3078e7 100644 --- a/spec/requests/api/graphql/mutations/namespace/package_settings/update_spec.rb +++ b/spec/requests/api/graphql/mutations/namespace/package_settings/update_spec.rb @@ -129,26 +129,6 @@ RSpec.describe 'Updating the package settings', feature_category: :package_regis it_behaves_like 'returning a success' it_behaves_like 'rejecting invalid regex' - - context 'when nuget_duplicates_option FF is disabled' do - let(:params) do - { - namespace_path: namespace.full_path, - 'nugetDuplicatesAllowed' => false - } - end - - before do - stub_feature_flags(nuget_duplicates_option: false) - end - - it 'raises an error', :aggregate_failures do - subject - - expect(graphql_errors.size).to eq(1) - expect(graphql_errors.first['message']).to include('feature flag is disabled') - end - end end RSpec.shared_examples 'accepting the mutation request creating the package settings' do |