From: Felix Nagel Date: Mon, 29 Apr 2013 18:49:06 +0000 (+0200) Subject: Selectmenu Tests: use simulate instead of trigger X-Git-Tag: 1.11.0-beta.1~160^2~99 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1fa8c2000994cabb315aff3a0941cbbfb1f562f8;p=jquery-ui.git Selectmenu Tests: use simulate instead of trigger --- diff --git a/tests/unit/selectmenu/selectmenu_events.js b/tests/unit/selectmenu/selectmenu_events.js index 0e704fd90..669cde2a2 100644 --- a/tests/unit/selectmenu/selectmenu_events.js +++ b/tests/unit/selectmenu/selectmenu_events.js @@ -23,7 +23,7 @@ test( "change", function () { value = this.element.find( "option" ).first().text(); button.simulate( "focus" ).simulate( "click" ); - menu.find( "a" ).first().simulate( "mouseover" ).trigger( "click" ); + menu.find( "a" ).first().simulate( "mouseover" ).simulate( "click" ); }); @@ -103,7 +103,7 @@ test( "select", function () { menu = this.element.selectmenu( "menuWidget" ).parent(); button.simulate( "focus" ).simulate( "click" ); - menu.find( "a" ).first().simulate( "mouseover" ).trigger( "click" ); + menu.find( "a" ).first().simulate( "mouseover" ).simulate( "click" ); }); })(jQuery);