aboutsummaryrefslogtreecommitdiffstats
path: root/test/ngResource/resourceSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ngResource/resourceSpec.js')
-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');
});