2 * mobile init dialog tests
5 module( "jquery.mobile.init dialog load tests" );
8 test( "A document containing no pages and a dialog role div will enhance the div as a page", function() {
9 ok( $("#foo").hasClass( "ui-page" ), "the div has the page class" );
11 // NOTE this will fail when/if we decide to render it as a dialog
12 ok( !$("#foo").hasClass( "ui-dialog" ), "the div does NOT have the dialog page class" );
15 //NOTE the opposite case is tested everyewhere else in the suite :D