aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectmenu/selectmenu_events.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/selectmenu/selectmenu_events.js')
-rw-r--r--tests/unit/selectmenu/selectmenu_events.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/selectmenu/selectmenu_events.js b/tests/unit/selectmenu/selectmenu_events.js
index 86bc33177..ec4d3ff25 100644
--- a/tests/unit/selectmenu/selectmenu_events.js
+++ b/tests/unit/selectmenu/selectmenu_events.js
@@ -7,7 +7,7 @@
});
test("change", function () {
- expect(4);
+ expect(5);
this.element.selectmenu({
change: function (event, ui) {
@@ -22,6 +22,8 @@
menu = widget.filter(".ui-selectmenu-menu");
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 () {