diff options
Diffstat (limited to 'spec/frontend/sidebar/components')
-rw-r--r-- | spec/frontend/sidebar/components/lock/__snapshots__/edit_form_spec.js.snap | 8 | ||||
-rw-r--r-- | spec/frontend/sidebar/components/lock/issuable_lock_form_spec.js | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/spec/frontend/sidebar/components/lock/__snapshots__/edit_form_spec.js.snap b/spec/frontend/sidebar/components/lock/__snapshots__/edit_form_spec.js.snap index d5bbd3bb3c9..48ba23ac0a1 100644 --- a/spec/frontend/sidebar/components/lock/__snapshots__/edit_form_spec.js.snap +++ b/spec/frontend/sidebar/components/lock/__snapshots__/edit_form_spec.js.snap @@ -9,7 +9,7 @@ exports[`Edit Form Dropdown In issue page when locked the appropriate warning te class="text" > <gl-sprintf-stub - message="Unlock this %{issuableDisplayName}? %{strongStart}Everyone%{strongEnd} will be able to comment." + message="Unlock this discussion? %{strongStart}Everyone%{strongEnd} will be able to comment." /> </p> <edit-form-buttons-stub @@ -28,7 +28,7 @@ exports[`Edit Form Dropdown In issue page when unlocked the appropriate warning class="text" > <gl-sprintf-stub - message="Lock this %{issuableDisplayName}? Only %{strongStart}project members%{strongEnd} will be able to comment." + message="Lock this discussion? Only %{strongStart}project members%{strongEnd} will be able to comment." /> </p> <edit-form-buttons-stub @@ -46,7 +46,7 @@ exports[`Edit Form Dropdown In merge request page when locked the appropriate wa class="text" > <gl-sprintf-stub - message="Unlock this %{issuableDisplayName}? %{strongStart}Everyone%{strongEnd} will be able to comment." + message="Unlock this discussion? %{strongStart}Everyone%{strongEnd} will be able to comment." /> </p> <edit-form-buttons-stub @@ -65,7 +65,7 @@ exports[`Edit Form Dropdown In merge request page when unlocked the appropriate class="text" > <gl-sprintf-stub - message="Lock this %{issuableDisplayName}? Only %{strongStart}project members%{strongEnd} will be able to comment." + message="Lock this discussion? Only %{strongStart}project members%{strongEnd} will be able to comment." /> </p> <edit-form-buttons-stub diff --git a/spec/frontend/sidebar/components/lock/issuable_lock_form_spec.js b/spec/frontend/sidebar/components/lock/issuable_lock_form_spec.js index e1c41fb8b46..69531af6e3a 100644 --- a/spec/frontend/sidebar/components/lock/issuable_lock_form_spec.js +++ b/spec/frontend/sidebar/components/lock/issuable_lock_form_spec.js @@ -176,8 +176,8 @@ describe('IssuableLockForm', () => { it.each` locked | message - ${true} | ${'Merge request locked.'} - ${false} | ${'Merge request unlocked.'} + ${true} | ${'Discussion locked.'} + ${false} | ${'Discussion unlocked.'} `('displays $message when merge request is $locked', async ({ locked, message }) => { initStore(locked); |