lists.rb 217 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 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