mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-22 02:45:10 +08:00
committed by
Igor Minar
parent
d9ed9c5ac1
commit
1bb33cccbe
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user