summaryrefslogtreecommitdiff
path: root/spec/factories/work_items.rb
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 81c9fb6ed87..267ea9710b3 100644
--- a/spec/factories/work_items.rb
+++ b/spec/factories/work_items.rb
@@ -10,6 +10,10 @@ FactoryBot.define do
issue_type { :issue }
association :work_item_type, :default
+ trait :confidential do
+ confidential { true }
+ end
+
trait :task do
issue_type { :task }
association :work_item_type, :default, :task