aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-04-29 20:49:06 +0200
committerFelix Nagel <info@felixnagel.com>2013-04-29 20:49:06 +0200
commit1fa8c2000994cabb315aff3a0941cbbfb1f562f8 (patch)
tree7403c2becfde21b4009b8c069ef2089e8eda280e /tests/unit
parent8b6c81e8a6650bac71891de13b5adc3db3f5d2b4 (diff)
downloadjquery-ui-1fa8c2000994cabb315aff3a0941cbbfb1f562f8.tar.gz
jquery-ui-1fa8c2000994cabb315aff3a0941cbbfb1f562f8.zip
Selectmenu Tests: use simulate instead of trigger
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/selectmenu/selectmenu_events.js4
1 files changed, 2 insertions, 2 deletions
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);