diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2018-06-14 17:35:15 +0000 |
---|---|---|
committer | Annabel Gray <annabel.m.gray@gmail.com> | 2018-06-14 17:35:15 +0000 |
commit | 26fcf83308ba1388423fe6afd536bf433d327a76 (patch) | |
tree | bc845de75a7818b10295b2aa1ce91175bc5d4aff /spec/javascripts/notes_spec.js | |
parent | 7a21c911b5e4aa9e552d30235780a728d8931fa8 (diff) | |
download | gitlab-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.js | 4 |
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 <script>alert("XSS")</script>'); |