mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 12:05:46 +08:00
fix(forms): broken tests on jQuery and ie8&9
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user