Commit 240bf1a6 authored by Lukas Eipert's avatar Lukas Eipert

Fix spec/frontend/gfm_auto_complete_spec.js by loading fixtures

Apparently loading fixtures is important
parent 3d199a21
...@@ -629,8 +629,9 @@ describe('GfmAutoComplete', () => { ...@@ -629,8 +629,9 @@ describe('GfmAutoComplete', () => {
let $textarea; let $textarea;
beforeEach(() => { beforeEach(() => {
setFixtures('<textarea></textarea>');
autocomplete = new GfmAutoComplete(dataSources); autocomplete = new GfmAutoComplete(dataSources);
$textarea = $('<textarea></textarea>'); $textarea = $('textarea');
autocomplete.setup($textarea, { labels: true }); autocomplete.setup($textarea, { labels: true });
}); });
......
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