diff options
author | winniehell <git@winniehell.de> | 2016-11-23 01:08:54 +0100 |
---|---|---|
committer | winniehell <git@winniehell.de> | 2016-11-23 01:13:36 +0100 |
commit | 31a4894a098e5ca0230628677045c2de90961520 (patch) | |
tree | 1a707d537b9d3d13939bb79b6e3e1d4a06da1293 /spec/javascripts/shortcuts_issuable_spec.js | |
parent | 448c19aab1689ef43658a1f0fa0315e206ae895f (diff) | |
download | gitlab-ce-31a4894a098e5ca0230628677045c2de90961520.tar.gz |
Replace static fixture for shortcuts_issuable_spec (!7685)
Diffstat (limited to 'spec/javascripts/shortcuts_issuable_spec.js')
-rw-r--r-- | spec/javascripts/shortcuts_issuable_spec.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/javascripts/shortcuts_issuable_spec.js b/spec/javascripts/shortcuts_issuable_spec.js index 7d36d79b687..e37816b0a8c 100644 --- a/spec/javascripts/shortcuts_issuable_spec.js +++ b/spec/javascripts/shortcuts_issuable_spec.js @@ -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() { |