diff --git a/tests/unit/textinput/index.html b/tests/unit/textinput/index.html new file mode 100644 index 00000000..07542d3d --- /dev/null +++ b/tests/unit/textinput/index.html @@ -0,0 +1,29 @@ + + + + + + jQuery Mobile Textinput Test Suite + + + + + + + + + + + + +

jQuery Mobile Textinput Test Suite

+

+

+
    +
+ +
+ +
+ + diff --git a/tests/unit/textinput/textinput_core.js b/tests/unit/textinput/textinput_core.js new file mode 100644 index 00000000..a445759a --- /dev/null +++ b/tests/unit/textinput/textinput_core.js @@ -0,0 +1,10 @@ +/* + * mobile textinput unit tests + */ +(function($){ + module( "jquery.mobile.forms.textinput.js" ); + + test( "inputs without type specified are enhanced", function(){ + ok( $( "#typeless-input" ).hasClass( "ui-input-text" ) ); + }); +})(jQuery); \ No newline at end of file