aboutsummaryrefslogtreecommitdiffstats
path: root/test/widgetsSpec.js
diff options
context:
space:
mode:
authorMisko Hevery2010-10-16 22:08:58 -0700
committerMisko Hevery2010-10-16 22:08:58 -0700
commitce49c361d71d1c5f8dc5b773298945957dba0175 (patch)
treea9a4f3ea532a0f67150b214a0a898025d0e4ea10 /test/widgetsSpec.js
parentb96f7369516bbc4f20c82f709a0ae623659905bb (diff)
downloadangular.js-ce49c361d71d1c5f8dc5b773298945957dba0175.tar.bz2
attempting to fix ie on jquery build failure
Diffstat (limited to 'test/widgetsSpec.js')
-rw-r--r--test/widgetsSpec.js8
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(){