Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/shared_examples/quick_actions/work_item/type_change_quick_actions_shared_examples.rb')
-rw-r--r--spec/support/shared_examples/quick_actions/work_item/type_change_quick_actions_shared_examples.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/support/shared_examples/quick_actions/work_item/type_change_quick_actions_shared_examples.rb b/spec/support/shared_examples/quick_actions/work_item/type_change_quick_actions_shared_examples.rb
index 0fc914d71d5..67e0b2c4b65 100644
--- a/spec/support/shared_examples/quick_actions/work_item/type_change_quick_actions_shared_examples.rb
+++ b/spec/support/shared_examples/quick_actions/work_item/type_change_quick_actions_shared_examples.rb
@@ -78,16 +78,6 @@ RSpec.shared_examples 'quick actions that change work item type' do
end
it_behaves_like 'action with validation errors'
-
- context 'when task has a parent' do
- let_it_be(:parent) { create(:work_item, :issue, project: project) }
-
- before do
- create(:parent_link, work_item: task, work_item_parent: parent)
- end
-
- it_behaves_like 'quick command error', 'A task cannot be promoted when a parent issue is present', 'promote'
- end
end
end
end