debian-mirror-gitlab/spec/factories/boards.rb
2017-09-10 17:25:29 +05:30

10 lines
148 B
Ruby

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