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

9 lines
172 B
Ruby

FactoryGirl.define do
factory :board do
project factory: :empty_project
after(:create) do |board|
board.lists.create(list_type: :closed)
end
end
end