Skip to content
Permalink
Browse files

Selectmenu Tests: remove unneeded test

  • Loading branch information...
fnagel committed Apr 29, 2013
1 parent c73f7e8 commit 8b6c81e8a6650bac71891de13b5adc3db3f5d2b4
Showing with 1 addition and 2 deletions.
  1. +1 −2 tests/unit/selectmenu/selectmenu_events.js
@@ -7,13 +7,12 @@ module( "selectmenu: events", {
});

test( "change", function () {
expect( 5 );
expect( 4 );

this.element.selectmenu({
change: function ( event, ui ) {
ok( event, "change event fired on change" );
equal( event.type, "selectmenuchange", "event type set to selectmenuchange" );
ok(ui, "ui object is passed as second argument to event handler" );
equal( ui.item.element[ 0 ].nodeName, "OPTION", "ui.item.element[0] points to original option element" );
equal( ui.item.value, value, "ui.item.value property updated correctly" );
}

0 comments on commit 8b6c81e

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