diff options
| author | Stephen Blott | 2015-05-09 11:30:59 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-05-09 14:11:31 +0100 |
| commit | d73775057d443a53668f6a93fe45cc4a4b412de7 (patch) | |
| tree | 34deac62bca83c11b60cfe4c1987ffe21073e8fd /tests | |
| parent | 75051d53536ddb9f247501b4509306cae1734184 (diff) | |
| download | vimium-d73775057d443a53668f6a93fe45cc4a4b412de7.tar.bz2 | |
Search completion; complete commmon search term.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/dom_tests/vomnibar_test.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dom_tests/vomnibar_test.coffee b/tests/dom_tests/vomnibar_test.coffee index 0e02bb7b..e32c050d 100644 --- a/tests/dom_tests/vomnibar_test.coffee +++ b/tests/dom_tests/vomnibar_test.coffee @@ -14,7 +14,7 @@ context "Keep selection within bounds", oldGetCompleter = vomnibarFrame.Vomnibar.getCompleter.bind vomnibarFrame.Vomnibar stub vomnibarFrame.Vomnibar, 'getCompleter', (name) => completer = oldGetCompleter name - stub completer, 'filter', (query, callback) => callback(@completions) + stub completer, 'filter', (query, callback) => callback results: @completions completer # Shoulda.js doesn't support async tests, so we have to hack around. |
