From 8ea1fc0d930287d473a1336b3ac2af8bff904f4d Mon Sep 17 00:00:00 2001 From: Alexey Gurianov Date: Fri, 15 Jul 2016 13:36:38 +0400 Subject: [PATCH] test: test trigger without url --- tests/node.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/node.js b/tests/node.js index f8c9c36..c792b4f 100644 --- a/tests/node.js +++ b/tests/node.js @@ -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() }