added a test to make sure the select element is inside the div-based button when native option is true

This commit is contained in:
scottjehl 2011-02-02 00:59:54 -05:00
parent 12b4506a0b
commit c3b6e86e61

View file

@ -53,4 +53,8 @@
test( "selects marked with data-native-menu=true should not have a custom menu", function(){
same($("#select-choice-native-container ul").length, 0);
});
test( "selects marked with data-native-menu=true should sit inside the button", function(){
same($("#select-choice-native-container div.ui-btn select").length, 1);
});
})(jQuery);