diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 17:34:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 17:34:42 +0300 |
commit | 9f46488805e86b1bc341ea1620b866016c2ce5ed (patch) | |
tree | f9748c7e287041e37d6da49e0a29c9511dc34768 /spec/requests/api/appearance_spec.rb | |
parent | dfc92d081ea0332d69c8aca2f0e745cb48ae5e6d (diff) |
Add latest changes from gitlab-org/gitlab@13-0-stable-ee
Diffstat (limited to 'spec/requests/api/appearance_spec.rb')
-rw-r--r-- | spec/requests/api/appearance_spec.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/requests/api/appearance_spec.rb b/spec/requests/api/appearance_spec.rb index 70be3adf723..f8c3db70d16 100644 --- a/spec/requests/api/appearance_spec.rb +++ b/spec/requests/api/appearance_spec.rb @@ -31,6 +31,7 @@ describe API::Appearance, 'Appearance' do expect(json_response['message_background_color']).to eq('#E75E40') expect(json_response['message_font_color']).to eq('#FFFFFF') expect(json_response['new_project_guidelines']).to eq('') + expect(json_response['profile_image_guidelines']).to eq('') expect(json_response['title']).to eq('') end end @@ -51,7 +52,8 @@ describe API::Appearance, 'Appearance' do put api("/application/appearance", admin), params: { title: "GitLab Test Instance", description: "gitlab-test.example.com", - new_project_guidelines: "Please read the FAQs for help." + new_project_guidelines: "Please read the FAQs for help.", + profile_image_guidelines: "Custom profile image guidelines" } expect(response).to have_gitlab_http_status(:ok) @@ -66,6 +68,7 @@ describe API::Appearance, 'Appearance' do expect(json_response['message_background_color']).to eq('#E75E40') expect(json_response['message_font_color']).to eq('#FFFFFF') expect(json_response['new_project_guidelines']).to eq('Please read the FAQs for help.') + expect(json_response['profile_image_guidelines']).to eq('Custom profile image guidelines') expect(json_response['title']).to eq('GitLab Test Instance') end end |