diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-18 16:16:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-18 16:16:36 +0300 |
commit | 311b0269b4eb9839fa63f80c8d7a58f32b8138a0 (patch) | |
tree | 07e7870bca8aed6d61fdcc810731c50d2c40af47 /spec/serializers/service_field_entity_spec.rb | |
parent | 27909cef6c4170ed9205afa7426b8d3de47cbb0c (diff) |
Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42
Diffstat (limited to 'spec/serializers/service_field_entity_spec.rb')
-rw-r--r-- | spec/serializers/service_field_entity_spec.rb | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/spec/serializers/service_field_entity_spec.rb b/spec/serializers/service_field_entity_spec.rb index 6e9ebfb66d9..a06fdf95159 100644 --- a/spec/serializers/service_field_entity_spec.rb +++ b/spec/serializers/service_field_entity_spec.rb @@ -27,7 +27,8 @@ RSpec.describe ServiceFieldEntity do help: 'Use a username for server version and an email for cloud version.', required: true, choices: nil, - value: 'jira_username' + value: 'jira_username', + checkbox_label: nil } is_expected.to eq(expected_hash) @@ -46,7 +47,8 @@ RSpec.describe ServiceFieldEntity do help: 'Leave blank to use your current password or API token.', required: true, choices: nil, - value: 'true' + value: 'true', + checkbox_label: nil } is_expected.to eq(expected_hash) @@ -68,7 +70,8 @@ RSpec.describe ServiceFieldEntity do placeholder: nil, required: nil, choices: nil, - value: 'true' + value: 'true', + checkbox_label: nil } is_expected.to include(expected_hash) @@ -83,12 +86,13 @@ RSpec.describe ServiceFieldEntity do expected_hash = { type: 'select', name: 'branches_to_be_notified', - title: nil, + title: 'Branches for which notifications are to be sent', placeholder: nil, required: nil, choices: [['All branches', 'all'], ['Default branch', 'default'], ['Protected branches', 'protected'], ['Default branch and protected branches', 'default_and_protected']], help: nil, - value: nil + value: nil, + checkbox_label: nil } is_expected.to eq(expected_hash) |