diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-14 18:08:22 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-14 18:08:22 +0300 |
commit | 0ef9ecf0ce8714a47105d735ca9c265a2b206f8e (patch) | |
tree | 6cee489ed03e0e93eb1879bcf72e6739967266f5 /spec/factories | |
parent | a5c4a731c88de720e6c23be355e44d916c34985f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/work_items.rb | 5 |
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 |