gitlab-org--gitlab-foss/spec/factories/boards.rb
2016-10-11 11:39:04 -03:00

10 lines
216 B
Ruby

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