aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/rootScopeSpec.js
diff options
context:
space:
mode:
authorKen Sheedlo2013-06-07 18:24:30 -0700
committerIgor Minar2013-06-17 13:29:30 -0700
commit003861d2fdb37b83e1d0939d49b70fbc67766997 (patch)
treedc53ff724097cc7485093bb43c2f3aa5f4377cb2 /test/ng/rootScopeSpec.js
parent908071afbf32c46fe9110e4a67e104bbd4b3a56b (diff)
downloadangular.js-003861d2fdb37b83e1d0939d49b70fbc67766997.tar.bz2
chore(minErr): replace ngError with minErr
Diffstat (limited to 'test/ng/rootScopeSpec.js')
-rw-r--r--test/ng/rootScopeSpec.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/ng/rootScopeSpec.js b/test/ng/rootScopeSpec.js
index 0b258c83..9d86c098 100644
--- a/test/ng/rootScopeSpec.js
+++ b/test/ng/rootScopeSpec.js
@@ -215,7 +215,7 @@ describe('Scope', function() {
expect(function() {
$rootScope.$digest();
- }).toThrow('[NgErr27] 100 $digest() iterations reached. Aborting!\n'+
+ }).toThrow('[$rootScope:infdig] 100 $digest() iterations reached. Aborting!\n'+
'Watchers fired in the last 5 iterations: ' +
'[["a; newVal: 96; oldVal: 95","b; newVal: 97; oldVal: 96"],' +
'["a; newVal: 97; oldVal: 96","b; newVal: 98; oldVal: 97"],' +
@@ -299,7 +299,7 @@ describe('Scope', function() {
$rootScope.$watch('name', function() {
expect(function() {
$rootScope.$digest();
- }).toThrow('[NgErr28] $digest already in progress');
+ }).toThrow('[$rootScope:inprog] $digest already in progress');
callCount++;
});
$rootScope.name = 'a';
@@ -759,7 +759,7 @@ describe('Scope', function() {
$rootScope.$apply(function() {
$rootScope.$apply();
});
- }).toThrow('[NgErr28] $apply already in progress');
+ }).toThrow('[$rootScope:inprog] $apply already in progress');
}));
@@ -771,7 +771,7 @@ describe('Scope', function() {
$rootScope.$apply();
});
});
- }).toThrow('[NgErr28] $digest already in progress');
+ }).toThrow('[$rootScope:inprog] $digest already in progress');
}));
@@ -781,7 +781,7 @@ describe('Scope', function() {
childScope1.$watch('x', function() {
childScope1.$apply();
});
- expect(function() { childScope1.$apply(); }).toThrow('[NgErr28] $digest already in progress');
+ expect(function() { childScope1.$apply(); }).toThrow('[$rootScope:inprog] $digest already in progress');
}));
@@ -798,7 +798,7 @@ describe('Scope', function() {
expect(function() { childScope2.$apply(function() {
childScope2.x = 'something';
- }); }).toThrow('[NgErr28] $digest already in progress');
+ }); }).toThrow('[$rootScope:inprog] $digest already in progress');
}));
});
});