mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-27 15:04:02 +00:00
remove weird spaces from resource mutation test
This commit is contained in:
parent
94514a91f8
commit
9985104dc0
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ describe("resource", function() {
|
||||||
expect(callback).wasCalledWith(cc);
|
expect(callback).wasCalledWith(cc);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should not mutate the resource object if response contains no body', function(){
|
it('should not mutate the resource object if response contains no body', function(){
|
||||||
var data = {id:{key:123}, number:'9876'};
|
var data = {id:{key:123}, number:'9876'};
|
||||||
xhr.expectGET("/CreditCard/123").respond(data);
|
xhr.expectGET("/CreditCard/123").respond(data);
|
||||||
var cc = CreditCard.get({id:123});
|
var cc = CreditCard.get({id:123});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue