aboutsummaryrefslogtreecommitdiffstats
path: root/test/widget/selectSpec.js
diff options
context:
space:
mode:
authorMisko Hevery2011-10-12 10:58:08 -0700
committerIgor Minar2011-10-12 23:04:48 -0700
commit4af4378b11c971f99205b7e712c13e8ef3467749 (patch)
tree6773cab98ad93322bb72758342947d72eb96fd3f /test/widget/selectSpec.js
parent8611ebe6a0d61092c1e66eb636e817c1445fd73f (diff)
downloadangular.js-4af4378b11c971f99205b7e712c13e8ef3467749.tar.bz2
fix(forms): broken tests on jQuery and ie8&9
Diffstat (limited to 'test/widget/selectSpec.js')
-rw-r--r--test/widget/selectSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/widget/selectSpec.js b/test/widget/selectSpec.js
index ad9dab18..dd1dc0cb 100644
--- a/test/widget/selectSpec.js
+++ b/test/widget/selectSpec.js
@@ -476,8 +476,8 @@ describe('select', function() {
scope.selected = [];
scope.$digest();
expect(select.find('option').length).toEqual(2);
- expect(jqLite(select.find('option')[0]).attr('selected')).toBeFalsy();
- expect(jqLite(select.find('option')[1]).attr('selected')).toBeFalsy();
+ expect(jqLite(select.find('option')[0]).prop('selected')).toBeFalsy();
+ expect(jqLite(select.find('option')[1]).prop('selected')).toBeFalsy();
scope.selected.push(scope.values[1]);
scope.$digest();