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

10 lines
148 B
Ruby
Raw Normal View History

2016-09-13 17:45:13 +05:30
FactoryGirl.define do
factory :board do
2017-09-10 17:25:29 +05:30
project
2016-11-03 12:29:30 +05:30
after(:create) do |board|
2017-08-17 22:00:37 +05:30
board.lists.create(list_type: :closed)
2016-11-03 12:29:30 +05:30
end
2016-09-13 17:45:13 +05:30
end
end