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

11 lines
216 B
Ruby
Raw Normal View History

2016-07-27 17:46:03 -04:00
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
2016-07-27 17:46:03 -04:00
end
end