From 6c3124c854cbeef391a38b5ae8330174d78348bf Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 3 Jun 2022 22:23:33 +0000 Subject: Add latest changes from gitlab-org/gitlab@15-0-stable-ee --- spec/frontend/issues/show/utils_spec.js | 116 +++++++++++++++++++-- .../frontend/notes/components/comment_form_spec.js | 20 ++++ spec/helpers/issues_helper_spec.rb | 12 ++- spec/lib/backup/gitaly_backup_spec.rb | 10 ++ spec/lib/gitlab/usage/service_ping_report_spec.rb | 29 ++++-- spec/models/user_spec.rb | 20 +++- spec/requests/api/users_spec.rb | 20 +++- spec/services/users/destroy_service_spec.rb | 21 ++++ 8 files changed, 226 insertions(+), 22 deletions(-) (limited to 'spec') diff --git a/spec/frontend/issues/show/utils_spec.js b/spec/frontend/issues/show/utils_spec.js index e5f14cfc01a..603fb5cc2a6 100644 --- a/spec/frontend/issues/show/utils_spec.js +++ b/spec/frontend/issues/show/utils_spec.js @@ -2,7 +2,7 @@ import { convertDescriptionWithNewSort } from '~/issues/show/utils'; describe('app/assets/javascripts/issues/show/utils.js', () => { describe('convertDescriptionWithNewSort', () => { - it('converts markdown description with new list sort order', () => { + it('converts markdown description with nested lists with new list sort order', () => { const description = `I am text - Item 1 @@ -12,17 +12,17 @@ describe('app/assets/javascripts/issues/show/utils.js', () => { - Item 5`; // Drag Item 2 + children to Item 1's position - const html = `