From 8b6c81e8a6650bac71891de13b5adc3db3f5d2b4 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Mon, 29 Apr 2013 20:48:48 +0200 Subject: [PATCH] Selectmenu Tests: remove unneeded test --- tests/unit/selectmenu/selectmenu_events.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/unit/selectmenu/selectmenu_events.js b/tests/unit/selectmenu/selectmenu_events.js index a5b8163d2..0e704fd90 100644 --- a/tests/unit/selectmenu/selectmenu_events.js +++ b/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" ); }