summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-02-15 13:32:23 +0100
committerRémy Coutable <remy@rymai.me>2017-02-15 13:32:23 +0100
commit2917d042c295cffb2ea1d131fa33c4ebc2510eda (patch)
treefeca8793717a2bab22c10e7410e39b04beddf05a
parent85b5330d84aed50007428fa6fdcd049bd2006f09 (diff)
downloadgitlab-ce-2917d042c295cffb2ea1d131fa33c4ebc2510eda.tar.gz
Fix spec failures in spec/javascripts/search_autocomplete_spec.js
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--spec/javascripts/search_autocomplete_spec.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/javascripts/search_autocomplete_spec.js b/spec/javascripts/search_autocomplete_spec.js
index 88beac71057..3ac5551dd5f 100644
--- a/spec/javascripts/search_autocomplete_spec.js
+++ b/spec/javascripts/search_autocomplete_spec.js
@@ -112,9 +112,6 @@
preloadFixtures('static/search_autocomplete.html.raw');
beforeEach(function() {
loadFixtures('static/search_autocomplete.html.raw');
- widget = new gl.SearchAutocomplete;
- // Prevent turbolinks from triggering within gl_dropdown
- spyOn(window.gl.utils, 'visitUrl').and.returnValue(true);
window.gon = {};
window.gon.current_user_id = userId;