From f775809910a2c8ebec1887ec39ba33325d00171a Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 22 Dec 2014 19:11:15 +0200 Subject: [PATCH] Fix test Signed-off-by: Dmitriy Zaporozhets --- spec/requests/api/projects_spec.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/spec/requests/api/projects_spec.rb b/spec/requests/api/projects_spec.rb index 2c4b68c10b6..f8c5d40b9bf 100644 --- a/spec/requests/api/projects_spec.rb +++ b/spec/requests/api/projects_spec.rb @@ -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)',