diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-28 18:09:59 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-28 18:09:59 +0300 |
commit | e0529f76a36026dc4bd51fbec1e5c52e7f3866e1 (patch) | |
tree | ac809b949e3257d89cac17c3409aadddd0a740cb /spec/factories | |
parent | 72cb3bee798655c2d370dfedf3c04665aaa43aa3 (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 3cb4d8cd8bc..c4686ba2316 100644 --- a/spec/factories/work_items.rb +++ b/spec/factories/work_items.rb @@ -24,6 +24,11 @@ FactoryBot.define do association :work_item_type, :default, :incident end + trait :test_case do + issue_type { :test_case } + association :work_item_type, :default, :test_case + end + trait :last_edited_by_user do association :last_edited_by, factory: :user end |