diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-11 14:34:56 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-11 14:34:56 +0100 |
commit | 3dfce3ab6b092ec40dc95fa292b87f841abf0eba (patch) | |
tree | c9fa20d49600131cd8a218aea6a2ff308ebe2132 | |
parent | 0c55c8891b891eadef41026420f955bb504f305f (diff) | |
download | gitlab-ce-refactor-realtime-issue.tar.gz |
Fixed karma spec with elements not appearing in DOMrefactor-realtime-issue
-rw-r--r-- | spec/javascripts/issue_show/components/description_spec.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/javascripts/issue_show/components/description_spec.js b/spec/javascripts/issue_show/components/description_spec.js index df9941a2bdb..408349cc42d 100644 --- a/spec/javascripts/issue_show/components/description_spec.js +++ b/spec/javascripts/issue_show/components/description_spec.js @@ -10,6 +10,7 @@ describe('Description component', () => { if (!document.querySelector('.issuable-meta')) { const metaData = document.createElement('div'); metaData.classList.add('issuable-meta'); + metaData.innerHTML = '<span id="task_status"></span><span id="task_status_short"></span>'; document.body.appendChild(metaData); } |