Fix test
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
fb7be3238d
commit
f775809910
1 changed files with 0 additions and 2 deletions
|
@ -198,8 +198,6 @@ describe API::API, api: true do
|
|||
it 'should respond with 400 on failure' do
|
||||
post api("/projects/user/#{user.id}", admin)
|
||||
response.status.should == 400
|
||||
json_response['message']['creator'].should == ['can\'t be blank']
|
||||
json_response['message']['namespace'].should == ['can\'t be blank']
|
||||
json_response['message']['name'].should == [
|
||||
'can\'t be blank',
|
||||
'is too short (minimum is 0 characters)',
|
||||
|
|
Loading…
Reference in a new issue