aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectmenu
diff options
context:
space:
mode:
authorDan Wellman <danwellman@hotmail.com>2011-12-13 22:24:12 +0000
committerDan Wellman <danwellman@hotmail.com>2011-12-13 22:24:12 +0000
commitd02f6063e29dc9486d23156eaa881d944fd2c2d8 (patch)
treee4e6d8b7e939d9d949831a3abcf84afca42bf1a3 /tests/unit/selectmenu
parenta6fbbc573941679f1217a72b9ab5089f2ebfae69 (diff)
parent716bf407d2ab0696f5cf0bab50ad656c5b5fcc64 (diff)
downloadjquery-ui-d02f6063e29dc9486d23156eaa881d944fd2c2d8.tar.gz
jquery-ui-d02f6063e29dc9486d23156eaa881d944fd2c2d8.zip
Selectmenu: updated options and events unit tests
Diffstat (limited to 'tests/unit/selectmenu')
-rw-r--r--tests/unit/selectmenu/selectmenu_events.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/selectmenu/selectmenu_events.js b/tests/unit/selectmenu/selectmenu_events.js
index 98171298b..fa25e69bb 100644
--- a/tests/unit/selectmenu/selectmenu_events.js
+++ b/tests/unit/selectmenu/selectmenu_events.js
@@ -24,6 +24,8 @@
value = this.element.find("option").eq(0).text();
menu.find(".ui-menu-item").eq(0).simulate("click");
+
+ equals(this.element.selectmenu("option", "value"), "Slower", "should be set to first option");
});
test("close", function () {