gitlab-org--gitlab-foss/spec/factories/boards.rb
2017-08-02 17:47:31 -04:00

9 lines
148 B
Ruby

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