2016-07-27 17:46:03 -04:00
|
|
|
FactoryGirl.define do
|
|
|
|
factory :list do
|
|
|
|
board
|
|
|
|
label
|
2016-07-31 20:55:03 -04:00
|
|
|
list_type :label
|
|
|
|
sequence(:position)
|
2016-07-27 17:46:03 -04:00
|
|
|
end
|
2016-07-28 00:54:13 -04:00
|
|
|
|
2017-05-31 10:34:02 -04:00
|
|
|
factory :backlog_list, parent: :list do
|
|
|
|
list_type :backlog
|
|
|
|
label nil
|
|
|
|
position nil
|
|
|
|
end
|
|
|
|
|
2017-03-24 08:40:35 -04:00
|
|
|
factory :closed_list, parent: :list do
|
|
|
|
list_type :closed
|
2016-07-28 18:26:16 -04:00
|
|
|
label nil
|
|
|
|
position nil
|
2016-07-28 00:54:13 -04:00
|
|
|
end
|
2016-07-27 17:46:03 -04:00
|
|
|
end
|