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-05-02 00:08:46 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-02 00:08:46 +0300
commitd15b856c1c42d198ba102123f72b8a0b19d143df (patch)
tree6bfdaaa818d160b9e4f756ca09c0be397f963db9 /spec/factories
parent3011f8b297a5b71cd505a672b59cc8d3e0aa9f65 (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 c4686ba2316..adf0c907adb 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 :requirement do
+ issue_type { :requirement }
+ association :work_item_type, :default, :requirement
+ end
+
trait :test_case do
issue_type { :test_case }
association :work_item_type, :default, :test_case