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

daily_report_results.rb « ci « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e2255e8a13496dfd8d0780fd05797096a1f06db4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

FactoryBot.define do
  factory :ci_daily_report_result, class: 'Ci::DailyReportResult' do
    ref_path { Gitlab::Git::BRANCH_REF_PREFIX + 'master' }
    date { Time.zone.now.to_date }
    project
    last_pipeline factory: :ci_pipeline
    param_type { Ci::DailyReportResult.param_types[:coverage] }
    title { 'rspec' }
    value { 77.0 }
  end
end