Selectmenu tests: adjust test to change from button to span element

This commit is contained in:
Felix Nagel 2013-03-07 23:41:08 +01:00
parent 022079a782
commit 8fc08a18ec

View File

@ -154,7 +154,7 @@ test( "widget", function() {
element.selectmenu( "refresh" ); element.selectmenu( "refresh" );
equal( widgetElement.length, 1, "widget: one element" ); equal( widgetElement.length, 1, "widget: one element" );
ok( widgetElement.is( "button.ui-button" ), "widget: button element" ); ok( widgetElement.is( "span.ui-button" ), "widget: button element" );
equal( menuWidgetElement.length, 1, "menuWidget: one element" ); equal( menuWidgetElement.length, 1, "menuWidget: one element" );
ok( menuWidgetElement.is( "ul.ui-menu" ), "menuWidget: menu element" ); ok( menuWidgetElement.is( "ul.ui-menu" ), "menuWidget: menu element" );