diff options
Diffstat (limited to 'spec/frontend/notes/components/note_form_spec.js')
-rw-r--r-- | spec/frontend/notes/components/note_form_spec.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/frontend/notes/components/note_form_spec.js b/spec/frontend/notes/components/note_form_spec.js index fad04e9063d..90473e7ccba 100644 --- a/spec/frontend/notes/components/note_form_spec.js +++ b/spec/frontend/notes/components/note_form_spec.js @@ -116,15 +116,15 @@ describe('issue_note_form component', () => { }); it.each` - confidential | placeholder - ${false} | ${'Write a comment or drag your files here…'} - ${true} | ${'Write an internal note or drag your files here…'} + internal | placeholder + ${false} | ${'Write a comment or drag your files here…'} + ${true} | ${'Write an internal note or drag your files here…'} `( - 'should set correct textarea placeholder text when discussion confidentiality is $confidential', - ({ confidential, placeholder }) => { + 'should set correct textarea placeholder text when discussion confidentiality is $internal', + ({ internal, placeholder }) => { props.note = { ...note, - confidential, + internal, }; wrapper = createComponentWrapper(); |