diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-27 18:20:35 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-27 18:20:35 +0000 |
commit | fbcf5b688d3133065705b24b73330f9b9bf19181 (patch) | |
tree | 5d640c9c862feaa1ad3399fb8277c32ff70834e3 /spec/models/user_preference_spec.rb | |
parent | e8aa488899554f5fe4413779f485583d691fd5a8 (diff) | |
download | gitlab-ce-fbcf5b688d3133065705b24b73330f9b9bf19181.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/user_preference_spec.rb')
-rw-r--r-- | spec/models/user_preference_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/models/user_preference_spec.rb b/spec/models/user_preference_spec.rb index 5c368b1632b..f0d646c8a0a 100644 --- a/spec/models/user_preference_spec.rb +++ b/spec/models/user_preference_spec.rb @@ -61,6 +61,10 @@ RSpec.describe UserPreference do it { is_expected.not_to allow_value(nil).for(:pass_user_identities_to_ci_jwt) } it { is_expected.not_to allow_value("").for(:pass_user_identities_to_ci_jwt) } end + + describe 'visibility_pipeline_id_type' do + it { is_expected.to define_enum_for(:visibility_pipeline_id_type).with_values(id: 0, iid: 1) } + end end describe 'notes filters global keys' do |