aboutsummaryrefslogtreecommitdiffstats
path: root/test/ExternalApiTest.js
diff options
context:
space:
mode:
authorMisko Hevery2010-01-12 14:19:19 -0800
committerMisko Hevery2010-01-12 14:19:19 -0800
commit27709c3f69384a7630aa336a1e73e730ea5f9790 (patch)
treeb12ccc7ce8b8eb439c5667fb9b3af0818fca0cf3 /test/ExternalApiTest.js
parent209faf5581d0874ad82d863934f6e97af2897f98 (diff)
downloadangular.js-27709c3f69384a7630aa336a1e73e730ea5f9790.tar.bz2
break out init phase into scope
Diffstat (limited to 'test/ExternalApiTest.js')
-rw-r--r--test/ExternalApiTest.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ExternalApiTest.js b/test/ExternalApiTest.js
index 7356915b..cc102ae0 100644
--- a/test/ExternalApiTest.js
+++ b/test/ExternalApiTest.js
@@ -4,6 +4,7 @@ ExternalApiTest.prototype = {
testItShouldExposefactory:function(){
var node = $('<div ng-init="a=1">{{b=a+1}}</div>')[0];
var scope = angular.compile(node);
+ scope.init();
assertEquals(1, scope.get('a'));
assertEquals(2, scope.get('b'));
},