mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +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
|
||||
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();
|
||||
expect(scope.foodCounter).toEqual(0);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue