From 45dc9ee7b4a1e004f9fb7edde41d4805d1402ffa Mon Sep 17 00:00:00 2001 From: Ken Sheedlo Date: Fri, 9 Aug 2013 11:14:37 -0700 Subject: style(minerr): prefer component name as namespace Closes #3527 --- test/ngResource/resourceSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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'); }); -- cgit v1.2.3