aboutsummaryrefslogtreecommitdiffstats
path: root/test/widgetsSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/widgetsSpec.js')
-rw-r--r--test/widgetsSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/widgetsSpec.js b/test/widgetsSpec.js
index 6d6e47c6..6fccaa48 100644
--- a/test/widgetsSpec.js
+++ b/test/widgetsSpec.js
@@ -957,8 +957,8 @@ describe("widget", function(){
scope.selected = [];
scope.$digest();
expect(select.find('option').length).toEqual(2);
- expect(jqLite(select.find('option')[0]).attr('selected')).toEqual(false);
- expect(jqLite(select.find('option')[1]).attr('selected')).toEqual(false);
+ expect(select.find('option')[0].selected).toBe(false);
+ expect(select.find('option')[1].selected).toBe(false);
scope.selected.push(scope.values[1]);
scope.$digest();