From c3b6e86e613646608f21ecfc54fa9cc290ecafca Mon Sep 17 00:00:00 2001 From: scottjehl Date: Wed, 2 Feb 2011 00:59:54 -0500 Subject: [PATCH] added a test to make sure the select element is inside the div-based button when native option is true --- tests/unit/select/select_events.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/unit/select/select_events.js b/tests/unit/select/select_events.js index d579aa76..fdcc2ee6 100644 --- a/tests/unit/select/select_events.js +++ b/tests/unit/select/select_events.js @@ -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); \ No newline at end of file