Skip to content
Permalink
Browse files

Selectmenu: remove markup unit test

  • Loading branch information
fnagel committed Nov 21, 2011
1 parent 95ea303 commit 80ba251a9be532eb9de33aa8540c9238928c0d69
Showing with 0 additions and 17 deletions.
  1. +0 −17 tests/unit/selectmenu/selectmenu_core.js
@@ -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");

0 comments on commit 80ba251

Please sign in to comment.
You can’t perform that action at this time.