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

15 lines
213 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 :done_list, parent: :list do
list_type :done
label nil
position nil
end
2016-07-27 17:46:03 -04:00
end