Updating select menu tests to match recent dialog markup changes.

This commit is contained in:
Mat Marquis 2012-01-04 12:35:13 -05:00
parent f5794cf7c8
commit 573fcf8668

View file

@ -26,7 +26,7 @@
},
function(){
ok( $.mobile.activePage.hasClass('ui-dialog'), "the dialog came up" );
ok( $.mobile.activePage.hasClass('ui-dialog-page'), "the dialog came up" );
var option = $.mobile.activePage.find( "li a" ).not(":contains('" + selectButton.text() + "')").last();
value = option.text();
option.click();
@ -83,7 +83,7 @@
},
function(){
ok( $.mobile.activePage.hasClass('ui-dialog'), "the dialog came up" );
ok( $.mobile.activePage.hasClass('ui-dialog-page'), "the dialog came up" );
$.mobile.activePage.find( "li a" ).last().click();
},