Permalink
Browse files

Selectmenu: updated options and events unit tests

  • Loading branch information...
2 parents a6fbbc5 + 716bf40 commit d02f6063e29dc9486d23156eaa881d944fd2c2d8 @danwellman danwellman committed Dec 13, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 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 () {

0 comments on commit d02f606

Please sign in to comment.