style(minerr): prefer component name as namespace

Closes #3527
This commit is contained in:
Ken Sheedlo
2013-08-09 11:14:37 -07:00
committed by Igor Minar
parent f078762d48
commit 45dc9ee7b4
6 changed files with 11 additions and 11 deletions

View File

@@ -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');
});