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:
Diffstat (limited to 'spec/factories/work_items.rb')
-rw-r--r--spec/factories/work_items.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/work_items.rb b/spec/factories/work_items.rb
index 267ea9710b3..205b071a5d4 100644
--- a/spec/factories/work_items.rb
+++ b/spec/factories/work_items.rb
@@ -23,5 +23,9 @@ FactoryBot.define do
issue_type { :incident }
association :work_item_type, :default, :incident
end
+
+ trait :last_edited_by_user do
+ association :last_edited_by, factory: :user
+ end
end
end