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

10 lines
148 B
Ruby
Raw Normal View History

2016-07-27 17:46:03 -04:00
FactoryGirl.define do
factory :board do
project
after(:create) do |board|
board.lists.create(list_type: :closed)
end
2016-07-27 17:46:03 -04:00
end
end