Commit 31a4894a authored by winniehell's avatar winniehell

Replace static fixture for shortcuts_issuable_spec (!7685)

parent 448c19aa
---
title: Replace static fixture for shortcuts_issuable_spec
merge_request: 7685
author: winniehell
%form.js-main-target-form
%textarea#note_note
......@@ -4,9 +4,11 @@
(function() {
describe('ShortcutsIssuable', function() {
fixture.preload('issuable.html');
var fixtureName = 'issues/open-issue.html.raw';
fixture.preload(fixtureName);
beforeEach(function() {
fixture.load('issuable.html');
fixture.load(fixtureName);
document.querySelector('.js-new-note-form').classList.add('js-main-target-form');
return this.shortcut = new ShortcutsIssuable();
});
return describe('#replyWithSelectedText', function() {
......
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