From 9f46488805e86b1bc341ea1620b866016c2ce5ed Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 20 May 2020 14:34:42 +0000 Subject: Add latest changes from gitlab-org/gitlab@13-0-stable-ee --- spec/requests/api/appearance_spec.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'spec/requests/api/appearance_spec.rb') 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 -- cgit v1.2.1