mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Selectmenu tests: improve widget method tests
This commit is contained in:
parent
0bf91a41c6
commit
a7ea386498
@ -153,11 +153,11 @@ test( "widget", function() {
|
||||
|
||||
element.selectmenu( "refresh" );
|
||||
|
||||
equal( button.length, 1, "widget: one element" );
|
||||
ok( button.is( "span.ui-selectmenu-button" ), "widget: button element" );
|
||||
equal( button.length, 1, "button: one element" );
|
||||
ok( button.is( ".ui-selectmenu-button" ), "button: class" );
|
||||
|
||||
equal( menu.length, 1, "menuWidget: one element" );
|
||||
ok( menu.is( "ul.ui-menu" ), "menuWidget: menu element" );
|
||||
equal( menu.length, 1, "Menu Widget: one element" );
|
||||
ok( menu.is( "ul.ui-menu" ), "Menu Widget: element and class" );
|
||||
});
|
||||
|
||||
})( jQuery );
|
||||
|
Loading…
Reference in New Issue
Block a user