From a7d62dcb5533ceb9a7ae47ee27e2054400a0196b Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Tue, 30 Mar 2010 14:55:04 -0700 Subject: more tests fixed --- test/ScenarioSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ScenarioSpec.js') diff --git a/test/ScenarioSpec.js b/test/ScenarioSpec.js index 9603a28e..5b88a175 100644 --- a/test/ScenarioSpec.js +++ b/test/ScenarioSpec.js @@ -3,8 +3,8 @@ describe("ScenarioSpec: Compilation", function(){ var node = jqLite('
{{b=a+1}}
')[0]; var scope = angular.compile(node); scope.$init(); - expect(scope.$get('a')).toEqual(1); - expect(scope.$get('b')).toEqual(2); + expect(scope.a).toEqual(1); + expect(scope.b).toEqual(2); }); it("should compile jQuery node and return scope", function(){ -- cgit v1.2.3