aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStephen Blott2016-03-15 15:04:10 +0000
committerStephen Blott2016-03-17 11:17:03 +0000
commitf504fd305e5b2c16b2053a76090ea2618ab42332 (patch)
tree67f91c28adaa672e61e904f795802719a32466aa /tests
parent8912215c01504b459ff1c6aa17309a86037f6af8 (diff)
downloadvimium-f504fd305e5b2c16b2053a76090ea2618ab42332.tar.bz2
Move isEnabledForUrl to Frame.port.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit_tests/exclusion_test.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit_tests/exclusion_test.coffee b/tests/unit_tests/exclusion_test.coffee
index 0e4b87bc..e6a47779 100644
--- a/tests/unit_tests/exclusion_test.coffee
+++ b/tests/unit_tests/exclusion_test.coffee
@@ -19,6 +19,8 @@ extend(global, require "../../background_scripts/exclusions.js")
extend(global, require "../../background_scripts/commands.js")
extend(global, require "../../background_scripts/main.js")
+isEnabledForUrl = (request) -> Frames.isEnabledForUrl {request, tabId: 0}
+
# These tests cover only the most basic aspects of excluded URLs and passKeys.
#
context "Excluded URLs and pass keys",