gitlab-org--gitlab-foss/spec/factories/lists.rb
2017-03-24 23:40:35 +11:00

14 lines
217 B
Ruby

FactoryGirl.define do
factory :list do
board
label
list_type :label
sequence(:position)
end
factory :closed_list, parent: :list do
list_type :closed
label nil
position nil
end
end