Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Selectmenu tests: improve widget method tests

  • Loading branch information...
commit a7ea38649815a9924db0ec3bb34ec4d5e45c16eb 1 parent 0bf91a4
@fnagel fnagel authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/unit/selectmenu/selectmenu_methods.js
View
8 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 );
Please sign in to comment.
Something went wrong with that request. Please try again.