gitlab-org--gitlab-foss/spec/factories/lists.rb

15 lines
217 B
Ruby
Raw Normal View History

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
factory :closed_list, parent: :list do
list_type :closed
label nil
position nil
end
2016-07-27 17:46:03 -04:00
end