diff options
author | Rémy Coutable <remy@rymai.me> | 2017-02-15 15:32:23 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-02-15 15:32:23 +0300 |
commit | 2917d042c295cffb2ea1d131fa33c4ebc2510eda (patch) | |
tree | feca8793717a2bab22c10e7410e39b04beddf05a /spec | |
parent | 85b5330d84aed50007428fa6fdcd049bd2006f09 (diff) |
Fix spec failures in spec/javascripts/search_autocomplete_spec.js
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/search_autocomplete_spec.js | 3 |
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; |