diff --git a/tests/unit/navigation/index.html b/tests/unit/navigation/index.html
index 3c6833e1..3876c0b2 100644
--- a/tests/unit/navigation/index.html
+++ b/tests/unit/navigation/index.html
@@ -28,10 +28,13 @@
+
+
+
+
diff --git a/tests/unit/navigation/navigation_core.js b/tests/unit/navigation/navigation_core.js
index 6a57262f..a0134937 100644
--- a/tests/unit/navigation/navigation_core.js
+++ b/tests/unit/navigation/navigation_core.js
@@ -476,4 +476,21 @@
}
]);
});
+
+ asyncTest( "refresh of a dialog url should not duplicate page", function(){
+
+ $.testHelper.pageSequence([
+ // open our test page
+ function(){
+ same($(".foo-class").length, 1, "should only have one instance of foo-class in the document");
+ location.hash = "#foo&ui-state=dialog";
+ },
+
+ function(){
+ same(location.hash, "#foo&ui-state=dialog", "hash should match what was loaded");
+ same($(".foo-class").length, 1, "should only have one instance of foo-class in the document");
+ start();
+ }
+ ]);
+ });
})(jQuery);