diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-16 00:10:20 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-16 00:10:20 +0300 |
commit | be522a9abd386ad605786eeb805e12025af0c742 (patch) | |
tree | 3f1057f84c7594b42a889281f96fd51fb778e894 /spec/models | |
parent | 0e5ce539275e32cfd7592362e03673807fca9cc7 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/application_setting_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/application_setting_spec.rb b/spec/models/application_setting_spec.rb index 61fa1eb00d2..12ab061fa03 100644 --- a/spec/models/application_setting_spec.rb +++ b/spec/models/application_setting_spec.rb @@ -206,7 +206,7 @@ RSpec.describe ApplicationSetting, feature_category: :shared, type: :model do it { is_expected.not_to allow_value('default' => 100, shouldntexist: 50).for(:repository_storages_weighted).with_message("can't include: shouldntexist") } %i[notes_create_limit search_rate_limit search_rate_limit_unauthenticated users_get_by_id_limit - projects_api_rate_limit_unauthenticated].each do |setting| + projects_api_rate_limit_unauthenticated gitlab_shell_operation_limit].each do |setting| it { is_expected.to allow_value(400).for(setting) } it { is_expected.not_to allow_value('two').for(setting) } it { is_expected.not_to allow_value(nil).for(setting) } |