diff --git a/src/ngResource/resource.js b/src/ngResource/resource.js index e2499864ff6f..f776d35ad401 100644 --- a/src/ngResource/resource.js +++ b/src/ngResource/resource.js @@ -218,7 +218,7 @@ function lookupDottedPath(obj, path) { newCard.name = "Mike Smith"; newCard.$save(); // POST: /user/123/card {number:'0123', name:'Mike Smith'} - // server returns: {id:789, number:'01234', name: 'Mike Smith'}; + // server returns: {id:789, number:'0123', name: 'Mike Smith'}; expect(newCard.id).toEqual(789); * *