diff options
Diffstat (limited to 'test/widget/selectSpec.js')
| -rw-r--r-- | test/widget/selectSpec.js | 4 |
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(); |
