aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectmenu/selectmenu_options.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2012-01-22 13:47:22 +0100
committerFelix Nagel <info@felixnagel.com>2012-01-22 13:47:22 +0100
commitd83e169424adf341afea4351cbe5b056f42ac996 (patch)
tree94023cd92f1babfd8026f55459e49fca9a4d9408 /tests/unit/selectmenu/selectmenu_options.js
parentc5d9dbca5c32915255398d249f995681ee671bf4 (diff)
downloadjquery-ui-d83e169424adf341afea4351cbe5b056f42ac996.tar.gz
jquery-ui-d83e169424adf341afea4351cbe5b056f42ac996.zip
Selectmenu: fixed unit tests due to initial refresh method changes
Diffstat (limited to 'tests/unit/selectmenu/selectmenu_options.js')
-rw-r--r--tests/unit/selectmenu/selectmenu_options.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/selectmenu/selectmenu_options.js b/tests/unit/selectmenu/selectmenu_options.js
index 993086b27..32f490ce0 100644
--- a/tests/unit/selectmenu/selectmenu_options.js
+++ b/tests/unit/selectmenu/selectmenu_options.js
@@ -23,6 +23,7 @@ test("dropdown: CSS styles", function () {
menu = widget.filter(".ui-selectmenu-menu"),
ul = widget.find("ul");
+ link.simulate( "focus" );
this.element.selectmenu("open");
ok( link.hasClass("ui-corner-top") && !link.hasClass("ui-corner-all"), "button styles dropdown");
ok( ul.hasClass("ui-corner-bottom") && !ul.hasClass("ui-corner-all"), "menu styles dropdown");