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>2023-04-28 18:09:59 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-28 18:09:59 +0300
commite0529f76a36026dc4bd51fbec1e5c52e7f3866e1 (patch)
treeac809b949e3257d89cac17c3409aadddd0a740cb /spec/factories
parent72cb3bee798655c2d370dfedf3c04665aaa43aa3 (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 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