aboutsummaryrefslogtreecommitdiffstats
path: root/test/service/scopeSpec.js
diff options
context:
space:
mode:
authorIgor Minar2012-01-24 02:33:35 -0800
committerIgor Minar2012-01-25 16:17:43 -0800
commit39b3297fc34b6b15bb3487f619ad1e93c4480741 (patch)
treee78eee301f3f19add0416482516a1fa95c159fdc /test/service/scopeSpec.js
parent1268fc1a44e1359f670a586e6cbc6774736f0a2d (diff)
downloadangular.js-39b3297fc34b6b15bb3487f619ad1e93c4480741.tar.bz2
fix($parse): get rid of $unboundFn
Closes #731
Diffstat (limited to 'test/service/scopeSpec.js')
-rw-r--r--test/service/scopeSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/service/scopeSpec.js b/test/service/scopeSpec.js
index b1b870f4..cc3f93f5 100644
--- a/test/service/scopeSpec.js
+++ b/test/service/scopeSpec.js
@@ -252,7 +252,7 @@ describe('Scope', function() {
module(provideLog);
inject(function($rootScope, log) {
$rootScope.fn = function() {return 'a'};
- $rootScope.$watch('fn', function(scope, fn) {
+ $rootScope.$watch('fn', function(fn) {
log(fn());
});
$rootScope.$digest();