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:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-14 18:08:22 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-14 18:08:22 +0300
commit0ef9ecf0ce8714a47105d735ca9c265a2b206f8e (patch)
tree6cee489ed03e0e93eb1879bcf72e6739967266f5 /spec/factories
parenta5c4a731c88de720e6c23be355e44d916c34985f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/work_items.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/factories/work_items.rb b/spec/factories/work_items.rb
index e80aa9cc008..81c9fb6ed87 100644
--- a/spec/factories/work_items.rb
+++ b/spec/factories/work_items.rb
@@ -14,5 +14,10 @@ FactoryBot.define do
issue_type { :task }
association :work_item_type, :default, :task
end
+
+ trait :incident do
+ issue_type { :incident }
+ association :work_item_type, :default, :incident
+ end
end
end