diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-20 21:12:31 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-20 21:12:31 +0300 |
commit | b420826c09cb69fd3db101b11e0482c896de73f7 (patch) | |
tree | b7886d6c9d13eda1c8ef0e7f8b3fb236d71440e2 /spec/serializers | |
parent | dd1388bcdb2383df8aecc8dd22f8ae6bdd8473cd (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/serializers')
-rw-r--r-- | spec/serializers/service_field_entity_spec.rb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/spec/serializers/service_field_entity_spec.rb b/spec/serializers/service_field_entity_spec.rb index 6e9ebfb66d9..d5a1c53d2f5 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) @@ -88,7 +91,8 @@ RSpec.describe ServiceFieldEntity do 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) |