From f3ea08b2e8f22e21e9ff561ecc80dccd6c9f2962 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Mon, 5 Feb 2018 10:25:15 +0000 Subject: Fix tests. --- tests/dom_tests/vomnibar_test.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/dom_tests/vomnibar_test.coffee b/tests/dom_tests/vomnibar_test.coffee index a8a02f2b..2bb9cc1a 100644 --- a/tests/dom_tests/vomnibar_test.coffee +++ b/tests/dom_tests/vomnibar_test.coffee @@ -74,7 +74,7 @@ context "Keep selection within bounds", @completions = [{html:'foo',type:'tab',url:'http://example.com'}] ui.update(true) stub ui, "actionFromKeyEvent", -> "down" - ui.onKeydown eventMock + ui.onKeyEvent eventMock assert.equal 0, ui.selection @completions = [] -- cgit v1.2.3