Selectmenu: remove markup unit test

This commit is contained in:
Felix Nagel 2011-11-21 21:06:20 +01:00
parent 95ea303418
commit 80ba251a9b

View File

@ -2,23 +2,6 @@
module( "selectmenu: core" );
test("markup structure", function () {
expect(5);
var element = $('#speed').selectmenu();
var widget = element.selectmenu("widget");
var button = widget.filter(".ui-selectmenu-button");
var menu = widget.filter(".ui-selectmenu-menu");
equals( button.length, 1, "button wrapper found");
equals( button.children("a").length, 1, "button link found");
equals( menu.length, 1, "menu wrapper found");
equals( menu.children("ul").length, 1, "menu found");
equals( menu.find("ul li.ui-menu-item").length, element.find("option").length, "menu li's found");
});
test("accessibility", function () {
var element = $('#speed').selectmenu();
var widget = element.selectmenu("widget");