corrected failing checkboxradio test

This commit is contained in:
John Bender 2011-10-11 08:38:55 -07:00
parent 9b73a750d4
commit 2efeafde40

View file

@ -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);