Skip to content

Commit

Permalink
test: test trigger without url
Browse files Browse the repository at this point in the history
  • Loading branch information
Guria committed Jul 15, 2016
1 parent cb8ce8a commit 8ea1fc0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ module.exports['should work in node.js'] = function (test) {

var router = controller.getServices().router

router.trigger()
router.trigger('/test')
router.trigger()
router.detach()

test.expect(1)
test.expect(2)
test.done()
}

0 comments on commit 8ea1fc0

Please sign in to comment.