diff options
| author | Misko Hevery | 2010-03-30 14:55:04 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2010-03-30 14:55:04 -0700 | 
| commit | a7d62dcb5533ceb9a7ae47ee27e2054400a0196b (patch) | |
| tree | 4c3702dbf899a8c669b833157b86a883c55d77ba /test/ScenarioSpec.js | |
| parent | d2d356918bd1c0c76673d22ff85c617fbd85d40e (diff) | |
| download | angular.js-a7d62dcb5533ceb9a7ae47ee27e2054400a0196b.tar.bz2 | |
more tests fixed
Diffstat (limited to 'test/ScenarioSpec.js')
| -rw-r--r-- | test/ScenarioSpec.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| 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('<div ng-init="a=1">{{b=a+1}}</div>')[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(){ | 
