Fix spec

parent 95a67cdb
...@@ -118,7 +118,7 @@ describe API::API, api: true do ...@@ -118,7 +118,7 @@ describe API::API, api: true do
branch_name: 'new design', branch_name: 'new design',
ref: branch_sha ref: branch_sha
expect(response.status).to eq(400) expect(response.status).to eq(400)
expect(json_response['message']).to eq('Branch name invalid') expect(json_response['message']).to eq('Branch name is invalid')
end end
it 'should return 400 if branch already exists' do it 'should return 400 if branch already exists' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment