Skip to content
Snippets Groups Projects
Verified Commit de038bf7 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Fix wrong error message expectation in API::Commits spec


This was because the MR was a bit behind master and the error message
got updated in the meantime by 79aad815.

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 3e8118d6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -475,7 +475,7 @@ describe API::Commits, api: true do
 
expect(response).to have_http_status(400)
expect(json_response['message']).to eq('Sorry, we cannot cherry-pick this commit automatically.
It may have already been cherry-pick, or a more recent commit may have updated some of its content.')
A cherry-pick may have already been performed with this commit, or a more recent commit may have updated some of its content.')
end
 
it 'returns 400 if you are not allowed to push to the target branch' do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment