fix m.route.link and m.route.set history replacement

This commit is contained in:
Leo Horie 2016-12-06 23:29:15 -05:00
parent 08a4442814
commit 992aa30ccc
11 changed files with 113 additions and 203 deletions

View file

@ -13,7 +13,7 @@ o.spec("Router.getPath", function() {
o.beforeEach(function() {
$window = pushStateMock(env)
router = new Router($window)
router.setPrefix(prefix)
router.prefix = prefix
onRouteChange = o.spy()
onFail = o.spy()
})