BigW Consortium Gitlab

Fix spec failures in spec/javascripts/search_autocomplete_spec.js

Signed-off-by: 's avatarRémy Coutable <remy@rymai.me>
parent 85b5330d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment