aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStephen Blott2016-02-12 06:39:14 +0000
committerStephen Blott2016-02-12 06:39:14 +0000
commit973e5eebf2fdec5225c9332e5783dc90f5c720ce (patch)
tree0531e1998d0925d679956e0a7da9d5fb0e2fb01f /tests
parentaabd2068e4ba497c9ad7d237a727121fd573b837 (diff)
parent1d809afe18d8638b899a1016d9cca0ccc4a32253 (diff)
downloadvimium-973e5eebf2fdec5225c9332e5783dc90f5c720ce.tar.bz2
Merge pull request #1984 from smblott-github/previous-tab
New command: visit previous tab.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit_tests/completion_test.coffee3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit_tests/completion_test.coffee b/tests/unit_tests/completion_test.coffee
index 9ce0a466..3bb187fd 100644
--- a/tests/unit_tests/completion_test.coffee
+++ b/tests/unit_tests/completion_test.coffee
@@ -1,5 +1,6 @@
require "./test_helper.js"
extend(global, require "../../lib/utils.js")
+extend(global, require "../../background_scripts/bg_utils.js")
extend(global, require "../../background_scripts/completion_engines.js")
extend(global, require "../../background_scripts/completion.js")
extend global, require "./test_chrome_stubs.js"
@@ -411,7 +412,7 @@ fakeTimeDeltaElapsing = ->
context "TabRecency",
setup ->
- @tabRecency = new TabRecency()
+ @tabRecency = BgUtils.tabRecency
fakeTimeDeltaElapsing = =>
if @tabRecency.lastVisitedTime?