page.has_xpath? doesn't test the page path.  This should be more like: `current.path.should == prettyurl`