Skip to content
Permalink
Browse files

Selectmenu tests: improve widget method tests

  • Loading branch information
fnagel committed Mar 7, 2013
1 parent 0bf91a4 commit a7ea38649815a9924db0ec3bb34ec4d5e45c16eb
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/unit/selectmenu/selectmenu_methods.js
@@ -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 );

0 comments on commit a7ea386

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