Welcome to mirror list, hosted at ThFree Co, Russian Federation.

boards.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1ec042a6ab4f51bad1281c4fd9575e1866beb514 (plain)
1
2
3
4
5
6
7
8
9
FactoryGirl.define do
  factory :board do
    project

    after(:create) do |board|
      board.lists.create(list_type: :closed)
    end
  end
end