Common errors method added

This commit is contained in:
Alex Denisov 2012-09-10 13:49:00 +03:00
parent 915dac0055
commit a065557208
2 changed files with 9 additions and 5 deletions

View file

@ -85,7 +85,7 @@ describe Gitlab::API do
it "should return a 404 error if not found" do
get api("/projects/42", user)
response.status.should == 404
json_response['message'].should == '404 Not found'
json_response['message'].should == '404 Not Found'
end
end