summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-05-11 14:34:56 +0100
committerPhil Hughes <me@iamphill.com>2017-05-11 14:34:56 +0100
commit3dfce3ab6b092ec40dc95fa292b87f841abf0eba (patch)
treec9fa20d49600131cd8a218aea6a2ff308ebe2132 /spec
parent0c55c8891b891eadef41026420f955bb504f305f (diff)
downloadgitlab-ce-3dfce3ab6b092ec40dc95fa292b87f841abf0eba.tar.gz
Fixed karma spec with elements not appearing in DOMrefactor-realtime-issue
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/issue_show/components/description_spec.js1
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);
}