diff options
| -rw-r--r-- | src/ng/rootScope.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/rootScope.js b/src/ng/rootScope.js index 2541ec24..a37eda5a 100644 --- a/src/ng/rootScope.js +++ b/src/ng/rootScope.js @@ -347,7 +347,7 @@ function $RootScopeProvider(){ scope.counter = 0; expect(scope.counter).toEqual(0); - scope.$watch('name', function(scope, newValue, oldValue) { + scope.$watch('name', function(newValue, oldValue) { counter = counter + 1; }); expect(scope.counter).toEqual(0); |
