diff --git a/tests/unit/select/select_core.js b/tests/unit/select/select_core.js index 93f66d20..7a1d91c9 100644 --- a/tests/unit/select/select_core.js +++ b/tests/unit/select/select_core.js @@ -142,7 +142,7 @@ }, function(){ - ok(location.hash.indexOf(dialogHashKey) == -1); + same(location.hash.indexOf(dialogHashKey), -1); start(); } ]); @@ -248,7 +248,7 @@ }, function(){ - selectButton = $.mobile.activePage.find( "#cached-page-select" ).siblings( 'a' ), + selectButton = $.mobile.activePage.find( "#cached-page-select" ).siblings( 'a' ); parentPageId = $.mobile.activePage.attr( 'id' ); same( $("#" + parentPageId).length, 1, "establish the parent page exists" ); selectButton.click();