diff options
| author | Ken Sheedlo | 2013-08-09 11:14:37 -0700 |
|---|---|---|
| committer | Igor Minar | 2013-08-09 14:12:04 -0700 |
| commit | 45dc9ee7b4a1e004f9fb7edde41d4805d1402ffa (patch) | |
| tree | a89e5e4eb46c156a7593901a61eb332595e4be96 /test/ngResource/resourceSpec.js | |
| parent | f078762d48d0d5d9796dcdf2cb0241198677582c (diff) | |
| download | angular.js-45dc9ee7b4a1e004f9fb7edde41d4805d1402ffa.tar.bz2 | |
style(minerr): prefer component name as namespace
Closes #3527
Diffstat (limited to 'test/ngResource/resourceSpec.js')
| -rw-r--r-- | test/ngResource/resourceSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ngResource/resourceSpec.js b/test/ngResource/resourceSpec.js index 19456f01..68c1b171 100644 --- a/test/ngResource/resourceSpec.js +++ b/test/ngResource/resourceSpec.js @@ -1061,7 +1061,7 @@ describe('resource', function() { expect(successSpy).not.toHaveBeenCalled(); expect(failureSpy).toHaveBeenCalledWith( - '[ngResource:badcfg] Error in resource configuration. Expected response to contain an array but got an object'); + '[$resource:badcfg] Error in resource configuration. Expected response to contain an array but got an object'); }); it('should fail if action expects an array but response is an object', function() { @@ -1076,7 +1076,7 @@ describe('resource', function() { expect(successSpy).not.toHaveBeenCalled(); expect(failureSpy).toHaveBeenCalledWith( - '[ngResource:badcfg] Error in resource configuration. Expected response to contain an object but got an array'); + '[$resource:badcfg] Error in resource configuration. Expected response to contain an object but got an array'); }); |
