mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-09 15:24:43 +00:00
parent
d9ed9c5ac1
commit
1bb33cccbe
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ function $RootScopeProvider(){
|
||||||
// No digest has been run so the counter will be zero
|
// No digest has been run so the counter will be zero
|
||||||
expect(scope.foodCounter).toEqual(0);
|
expect(scope.foodCounter).toEqual(0);
|
||||||
|
|
||||||
// Run the digest but since food has not changed cout will still be zero
|
// Run the digest but since food has not changed count will still be zero
|
||||||
scope.$digest();
|
scope.$digest();
|
||||||
expect(scope.foodCounter).toEqual(0);
|
expect(scope.foodCounter).toEqual(0);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue