gitlab-org--gitlab-foss/spec/factories/lists.rb
2017-02-03 17:02:43 +03:00

14 lines
213 B
Ruby

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