aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectmenu/selectmenu_methods.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/selectmenu/selectmenu_methods.js')
-rw-r--r--tests/unit/selectmenu/selectmenu_methods.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/selectmenu/selectmenu_methods.js b/tests/unit/selectmenu/selectmenu_methods.js
index 656707011..ca1b8c6a3 100644
--- a/tests/unit/selectmenu/selectmenu_methods.js
+++ b/tests/unit/selectmenu/selectmenu_methods.js
@@ -90,7 +90,7 @@ asyncTest( "refresh - change selected option", function() {
"button text after changing selected option" );
element.find( "option" ).prop( "selected", false );
- element.prepend( "<option selected value=\"selected_option\">Selected option</option>" );
+ element.append( "<option selected value=\"selected_option\">Selected option</option>" );
element.selectmenu( "refresh" );
equal( "Selected option", button.text(), "button text after adding selected option" );