diff --git a/spec/requests/api/internal_spec.rb b/spec/requests/api/internal_spec.rb index 033c3d35aed..ba11a41da29 100644 --- a/spec/requests/api/internal_spec.rb +++ b/spec/requests/api/internal_spec.rb @@ -22,7 +22,7 @@ describe Gitlab::API do response.status.should == 200 - json_response['email'].should == user.email + json_response['name'].should == user.name end end