debian-mirror-gitlab/spec/factories/boards.rb

11 lines
216 B
Ruby
Raw Normal View History

2016-09-13 17:45:13 +05:30
FactoryGirl.define do
factory :board do
project factory: :empty_project
2016-11-03 12:29:30 +05:30
after(:create) do |board|
board.lists.create(list_type: :backlog)
board.lists.create(list_type: :done)
end
2016-09-13 17:45:13 +05:30
end
end