Skip to content

Commit c3b6e86

Browse files
author
scottjehl
committed
added a test to make sure the select element is inside the div-based button when native option is true
1 parent 12b4506 commit c3b6e86

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/unit/select/select_events.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,8 @@
5353
test( "selects marked with data-native-menu=true should not have a custom menu", function(){
5454
same($("#select-choice-native-container ul").length, 0);
5555
});
56+
57+
test( "selects marked with data-native-menu=true should sit inside the button", function(){
58+
same($("#select-choice-native-container div.ui-btn select").length, 1);
59+
});
5660
})(jQuery);

0 commit comments

Comments
 (0)