diff --git a/tests/unit/navigation/index.html b/tests/unit/navigation/index.html
index 7597c79a..23bb834f 100644
--- a/tests/unit/navigation/index.html
+++ b/tests/unit/navigation/index.html
@@ -28,6 +28,9 @@
+
+
+
diff --git a/tests/unit/navigation/navigation_paths.js b/tests/unit/navigation/navigation_paths.js
index eca8a54e..edbb1656 100644
--- a/tests/unit/navigation/navigation_paths.js
+++ b/tests/unit/navigation/navigation_paths.js
@@ -6,6 +6,12 @@
expect( 2 );
$.testHelper.pageSequence([
+ function(){
+ // reset before each test, all tests expect original page
+ // for relative urls
+ $.testHelper.openPage("#/tests/unit/navigation/");
+ },
+
// open our test page
function(){
$.testHelper.openPage("#pathing-tests");
@@ -25,10 +31,6 @@
// verify that the page has changed and the expected text value is present
function(){
same($.mobile.activePage.find(".test-value").text(), expectedTextValue);
- $.testHelper.openPage("#pathing-tests-reset");
- },
-
- function(){
start();
}
]);
@@ -61,7 +63,7 @@
//Doc relative tests
module("document relative paths");
- asyncTest( "file reference no nesting", function(){
+ asyncTest( "file reference no nesting", function(){
testPageLoad("#doc-rel-test-one", "doc rel test one");
});