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

stages.rb « ci « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ee3b17b8bf1fe0b485b215b4a79b5ae41d5977e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FactoryGirl.define do
  factory :ci_stage, class: Ci::Stage do
    transient do
      name 'test'
      status nil
      pipeline factory: :ci_empty_pipeline
    end

    initialize_with do
      Ci::Stage.new(pipeline, name: name, status: status)
    end
  end
end