fixed test failures that occured when the jquery-mobile directory is located in a subdirectory of the server root.

This commit is contained in:
scottjehl 2011-07-19 22:25:05 -04:00
parent 8e354a06c5
commit c7b63920e7

View file

@ -9,7 +9,7 @@
function(){
// reset before each test, all tests expect original page
// for relative urls
$.testHelper.openPage("#/tests/unit/navigation/");
$.testHelper.openPage( "#" + location.pathname);
},
// open our test page