Test precondition.

This commit is contained in:
Bryce Gibson 2016-12-22 21:14:52 +11:00
parent b6daeaab5a
commit 088c41a47f

View file

@ -78,6 +78,8 @@ o.spec("route", function() {
callAsync(function() {
o(root.firstChild.nodeName).equals("DIV")
o($window.location.pathname).equals("/a")
$window.history.back()
o($window.location.pathname).equals("/")