gitlab-org--gitlab-foss/spec/factories/boards.rb
2017-02-03 17:02:43 +03:00

9 lines
170 B
Ruby

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