diff options
| author | Misko Hevery | 2010-10-16 22:08:58 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2010-10-16 22:08:58 -0700 | 
| commit | ce49c361d71d1c5f8dc5b773298945957dba0175 (patch) | |
| tree | a9a4f3ea532a0f67150b214a0a898025d0e4ea10 /test | |
| parent | b96f7369516bbc4f20c82f709a0ae623659905bb (diff) | |
| download | angular.js-ce49c361d71d1c5f8dc5b773298945957dba0175.tar.bz2 | |
attempting to fix ie on jquery build failure
Diffstat (limited to 'test')
| -rw-r--r-- | test/widgetsSpec.js | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/test/widgetsSpec.js b/test/widgetsSpec.js index 8f6ccaea..31596a48 100644 --- a/test/widgetsSpec.js +++ b/test/widgetsSpec.js @@ -363,12 +363,12 @@ describe("widget", function(){          // childNodes[0] is repeater comment          expect(scope.selection).toEqual(undefined); -        click(element[0].childNodes[1]); -        expect(scope.selection).toEqual(0); +        click(element[0].childNodes[2]); +        expect(scope.selection).toEqual(1); -        scope.selection = 1; +        scope.selection = 2;          scope.$eval(); -        expect(element[0].childNodes[2].selected).toEqual(true); +        expect(element[0].childNodes[3].selected).toEqual(true);        });        it('should unroll select options before eval', function(){ | 
