summaryrefslogtreecommitdiff
path: root/spec/javascripts/notes_spec.js
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2018-06-14 17:35:15 +0000
committerAnnabel Gray <annabel.m.gray@gmail.com>2018-06-14 17:35:15 +0000
commit26fcf83308ba1388423fe6afd536bf433d327a76 (patch)
treebc845de75a7818b10295b2aa1ce91175bc5d4aff /spec/javascripts/notes_spec.js
parent7a21c911b5e4aa9e552d30235780a728d8931fa8 (diff)
downloadgitlab-ce-26fcf83308ba1388423fe6afd536bf433d327a76.tar.gz
Resolve "Placeholder note renders the user name in a new line"
Diffstat (limited to 'spec/javascripts/notes_spec.js')
-rw-r--r--spec/javascripts/notes_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/notes_spec.js b/spec/javascripts/notes_spec.js
index 648fb3e9bd3..acbf23e2007 100644
--- a/spec/javascripts/notes_spec.js
+++ b/spec/javascripts/notes_spec.js
@@ -974,7 +974,7 @@ import timeoutPromise from './helpers/set_timeout_promise_helper';
).toBeFalsy();
expect(
$tempNoteHeader
- .find('.d-none.d-sm-block')
+ .find('.d-none.d-sm-inline-block')
.text()
.trim(),
).toEqual(currentUserFullname);
@@ -1020,7 +1020,7 @@ import timeoutPromise from './helpers/set_timeout_promise_helper';
const $tempNoteHeader = $tempNote.find('.note-header');
expect(
$tempNoteHeader
- .find('.d-none.d-sm-block')
+ .find('.d-none.d-sm-inline-block')
.text()
.trim(),
).toEqual('Foo &lt;script&gt;alert(&quot;XSS&quot;)&lt;/script&gt;');