From ce49c361d71d1c5f8dc5b773298945957dba0175 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Sat, 16 Oct 2010 22:08:58 -0700 Subject: attempting to fix ie on jquery build failure --- test/widgetsSpec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test') 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(){ -- cgit v1.2.3