Test precondition.
This commit is contained in:
parent
b6daeaab5a
commit
088c41a47f
1 changed files with 2 additions and 0 deletions
|
|
@ -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("/")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue