2019-07-25 05:11:48 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-12-14 00:13:44 +00:00
|
|
|
FactoryBot.define do
|
2016-07-27 21:46:03 +00:00
|
|
|
factory :list do
|
|
|
|
board
|
|
|
|
label
|
2019-10-02 00:06:26 +00:00
|
|
|
list_type { :label }
|
2019-11-21 06:06:32 +00:00
|
|
|
max_issue_count { 0 }
|
2019-11-25 12:06:13 +00:00
|
|
|
max_issue_weight { 0 }
|
2016-08-01 00:55:03 +00:00
|
|
|
sequence(:position)
|
2016-07-27 21:46:03 +00:00
|
|
|
end
|
2016-07-28 04:54:13 +00:00
|
|
|
|
2017-05-31 14:34:02 +00:00
|
|
|
factory :backlog_list, parent: :list do
|
2019-10-02 00:06:26 +00:00
|
|
|
list_type { :backlog }
|
|
|
|
label { nil }
|
|
|
|
position { nil }
|
2017-05-31 14:34:02 +00:00
|
|
|
end
|
|
|
|
|
2017-03-24 12:40:35 +00:00
|
|
|
factory :closed_list, parent: :list do
|
2019-10-02 00:06:26 +00:00
|
|
|
list_type { :closed }
|
|
|
|
label { nil }
|
|
|
|
position { nil }
|
2016-07-28 04:54:13 +00:00
|
|
|
end
|
2016-07-27 21:46:03 +00:00
|
|
|
end
|