]> source.dussan.org Git - jquery-ui.git/commitdiff
Selectmenu Tests: rename wrapper divs
authorFelix Nagel <info@felixnagel.com>
Mon, 29 Apr 2013 18:34:16 +0000 (20:34 +0200)
committerFelix Nagel <info@felixnagel.com>
Mon, 29 Apr 2013 18:34:16 +0000 (20:34 +0200)
tests/unit/selectmenu/selectmenu.html
tests/unit/selectmenu/selectmenu_options.js

index 8c1759892f13c08456d6c97e584d71846412e73b..584a47b53cc10a5399280027a09d320c26ed9806 100644 (file)
@@ -38,9 +38,9 @@
 <h2 id="qunit-userAgent"></h2>
 <ol id="qunit-tests"></ol>
 <div id="qunit-fixture">
-       <div id="sm-wrap1" class="sm-wrap"></div>
+       <div id="selectmenu-wrap1" class="selectmenu-wrap"></div>
 
-       <div id="sm-wrap2" class="sm-wrap">
+       <div id="selectmenu-wrap2" class="selectmenu-wrap">
                <label for="speed">Select a speed:</label>
                <select name="speed" id="speed">
                        <option value="Slower">Slower</option>
index dc87b8608ac7a85551ecc2b57c12dc51bb7e7549..7313e1dbc609fd7dbe554e5376275bbee505e192 100644 (file)
@@ -11,20 +11,20 @@ test( "appendTo another element", function () {
        element.selectmenu( "destroy" );
 
        element.selectmenu({
-               appendTo: ".sm-wrap"
+               appendTo: ".selectmenu-wrap"
        });
-       equal( element.selectmenu( "menuWidget" ).parent().parent()[0], $( "#sm-wrap1" )[0], "first found element" );
-       equal( $( "#sm-wrap2 .ui-selectmenu" ).length, 0, "only appends to one element" );
+       equal( element.selectmenu( "menuWidget" ).parent().parent()[0], $( "#selectmenu-wrap1" )[0], "first found element" );
+       equal( $( "#selectmenu-wrap2 .ui-selectmenu" ).length, 0, "only appends to one element" );
        element.selectmenu( "destroy" );
 
-       $( "#sm-wrap2" ).addClass( "ui-front" );
+       $( "#selectmenu-wrap2" ).addClass( "ui-front" );
        element.selectmenu();
-       equal( element.selectmenu( "menuWidget" ).parent().parent()[0], $( "#sm-wrap2" )[0], "null, inside .ui-front" );
+       equal( element.selectmenu( "menuWidget" ).parent().parent()[0], $( "#selectmenu-wrap2" )[0], "null, inside .ui-front" );
        element.selectmenu( "destroy" );
-       $( "#sm-wrap2" ).removeClass( "ui-front" );
+       $( "#selectmenu-wrap2" ).removeClass( "ui-front" );
 
-       element.selectmenu().selectmenu( "option", "appendTo", "#sm-wrap1" );
-       equal( element.selectmenu( "menuWidget" ).parent().parent()[0], $( "#sm-wrap1" )[0], "modified after init" );
+       element.selectmenu().selectmenu( "option", "appendTo", "#selectmenu-wrap1" );
+       equal( element.selectmenu( "menuWidget" ).parent().parent()[0], $( "#selectmenu-wrap1" )[0], "modified after init" );
        element.selectmenu( "destroy" );
 
        element.selectmenu({