9 lines
170 B
Ruby
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
|