diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-22 15:08:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-22 15:08:07 +0300 |
commit | e5c31c104e19a08546b17b34b7f1563cce3f89e6 (patch) | |
tree | 4f05401dc288370583328a94c1bbf1f1de9ace64 /spec/models/application_setting_spec.rb | |
parent | 56865fdf95db03cc0ccd01a88d9457ba0a050153 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/application_setting_spec.rb')
-rw-r--r-- | spec/models/application_setting_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/models/application_setting_spec.rb b/spec/models/application_setting_spec.rb index b4003469ebb..18060d29ad5 100644 --- a/spec/models/application_setting_spec.rb +++ b/spec/models/application_setting_spec.rb @@ -124,6 +124,8 @@ RSpec.describe ApplicationSetting, feature_category: :shared, type: :model do it { is_expected.to validate_inclusion_of(:allow_project_creation_for_guest_and_below).in_array([true, false]) } + it { is_expected.to validate_inclusion_of(:enable_member_promotion_management).in_array([true, false]) } + it { is_expected.to validate_inclusion_of(:deny_all_requests_except_allowed).in_array([true, false]) } it 'ensures max_pages_size is an integer greater than 0 (or equal to 0 to indicate unlimited/maximum)' do |