aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dom_tests/vomnibar_test.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dom_tests/vomnibar_test.coffee')
-rw-r--r--tests/dom_tests/vomnibar_test.coffee3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/dom_tests/vomnibar_test.coffee b/tests/dom_tests/vomnibar_test.coffee
index c5974a4c..501fd5dd 100644
--- a/tests/dom_tests/vomnibar_test.coffee
+++ b/tests/dom_tests/vomnibar_test.coffee
@@ -20,13 +20,12 @@ context "Keep selection within bounds",
completer
# Shoulda.js doesn't support async tests, so we have to hack around.
+ stub Vomnibar.vomnibarUI, "hide", ->
stub Vomnibar.vomnibarUI, "postMessage", (data) ->
vomnibarFrame.UIComponentServer.handleMessage {data}
stub vomnibarFrame.UIComponentServer, "postMessage", (data) ->
UIComponent.handleMessage {data}
- stub Vomnibar.vomnibarUI, "uiComponentIsReady", true
-
tearDown ->
Vomnibar.vomnibarUI.hide()