]> source.dussan.org Git - jquery-ui.git/commitdiff
Selectmenu Tests: remove unneeded test
authorFelix Nagel <info@felixnagel.com>
Mon, 29 Apr 2013 18:48:48 +0000 (20:48 +0200)
committerFelix Nagel <info@felixnagel.com>
Mon, 29 Apr 2013 18:48:48 +0000 (20:48 +0200)
tests/unit/selectmenu/selectmenu_events.js

index a5b8163d29c3b80b45816fa25f78afa6068b8815..0e704fd90be5897a55e8913197d2429657c02546 100644 (file)
@@ -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" );
                }