aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKen Sheedlo2013-08-09 11:14:37 -0700
committerIgor Minar2013-08-09 14:12:04 -0700
commit45dc9ee7b4a1e004f9fb7edde41d4805d1402ffa (patch)
treea89e5e4eb46c156a7593901a61eb332595e4be96 /test
parentf078762d48d0d5d9796dcdf2cb0241198677582c (diff)
downloadangular.js-45dc9ee7b4a1e004f9fb7edde41d4805d1402ffa.tar.bz2
style(minerr): prefer component name as namespace
Closes #3527
Diffstat (limited to 'test')
-rw-r--r--test/ngResource/resourceSpec.js4
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');
});