From 2efeafde407867f1fc61978581e1171840316018 Mon Sep 17 00:00:00 2001 From: John Bender Date: Tue, 11 Oct 2011 08:38:55 -0700 Subject: [PATCH] corrected failing checkboxradio test --- tests/unit/checkboxradio/checkboxradio_core.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/checkboxradio/checkboxradio_core.js b/tests/unit/checkboxradio/checkboxradio_core.js index 36005bbd..12deaabc 100644 --- a/tests/unit/checkboxradio/checkboxradio_core.js +++ b/tests/unit/checkboxradio/checkboxradio_core.js @@ -115,10 +115,11 @@ ok( $("#enhancetest").trigger("create").find(".ui-checkbox").length, "enhancements applied" ); }); - $.mobile.page.prototype.options.keepNative = "select.should-be-native"; + $.mobile.page.prototype.options.keepNative = "input.should-be-native"; // not testing the positive case here since's it's obviously tested elsewhere test( "checkboxradio elements in the keepNative set shouldn't be enhanced", function() { + console.log( ); ok( !$("input.should-be-native").parent().is("div.ui-checkbox") ); }); })(jQuery);