2020-04-22 19:07:51 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
FactoryBot.define do
|
2020-05-24 23:13:21 +05:30
|
|
|
factory :ci_daily_build_group_report_result, class: 'Ci::DailyBuildGroupReportResult' do
|
2020-04-22 19:07:51 +05:30
|
|
|
ref_path { Gitlab::Git::BRANCH_REF_PREFIX + 'master' }
|
|
|
|
date { Time.zone.now.to_date }
|
|
|
|
project
|
|
|
|
last_pipeline factory: :ci_pipeline
|
2020-05-24 23:13:21 +05:30
|
|
|
group_name { 'rspec' }
|
|
|
|
data do
|
|
|
|
{ 'coverage' => 77.0 }
|
|
|
|
end
|
2020-04-22 19:07:51 +05:30
|
|
|
end
|
|
|
|
end
|