correction to nav test to account for root element using the pathname + search

This commit is contained in:
John Bender 2011-10-11 13:10:20 -07:00
parent c9e6c45d55
commit 2b5d9a9a3a

View file

@ -83,9 +83,11 @@
function(){
// Verify that we are on the expected page.
// the hash based nav result (hash:) is dictate by the fact that #internal-page-1
// is the original root page element
$.testHelper.assertUrlLocation({
push: location.pathname + "#internal-page-1",
hash: "internal-page-1",
hash: location.pathname + location.search,
report: "navigate from a page in a non-base directory to an internal page"
});