diff options
author | Kris Borchers <kris.borchers@gmail.com> | 2013-10-05 22:19:57 -0500 |
---|---|---|
committer | Kris Borchers <kris.borchers@gmail.com> | 2013-10-05 22:19:57 -0500 |
commit | 9620812986a090668c44d48a7c85a46b580a89df (patch) | |
tree | 7eea1bb4af1ca0b7a405fecc14516b8dfff803d2 /tests/unit/autocomplete/autocomplete_options.js | |
parent | 31e705ab324ec830062eee173a112551f7c919ea (diff) | |
download | jquery-ui-9620812986a090668c44d48a7c85a46b580a89df.tar.gz jquery-ui-9620812986a090668c44d48a7c85a46b580a89df.zip |
Autocomplete tests: Update tests now that generated menu doesn't have anchors in elements
Diffstat (limited to 'tests/unit/autocomplete/autocomplete_options.js')
-rw-r--r-- | tests/unit/autocomplete/autocomplete_options.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/autocomplete/autocomplete_options.js b/tests/unit/autocomplete/autocomplete_options.js index d60faf47e..e6f08785b 100644 --- a/tests/unit/autocomplete/autocomplete_options.js +++ b/tests/unit/autocomplete/autocomplete_options.js @@ -62,8 +62,7 @@ function autoFocusTest( afValue, focusedLength ) { open: function() { equal( element.autocomplete( "widget" ) - .children( ".ui-menu-item:first" ) - .find( ".ui-state-focus" ) + .children( ".ui-menu-item.ui-state-focus" ) .length, focusedLength, "first item is " + (afValue ? "" : "not") + " auto focused" ); |