diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-11-23 18:51:20 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-12-03 12:04:49 +0100 |
commit | 38c61ab6df15fbd1eab22a8dff8da01b17c075f3 (patch) | |
tree | c0df50ea346d5ab5f9b21951b9fc746869a44612 /spec/models/project_statistics_spec.rb | |
parent | 871de0f18581bb03fed5c0d800f8183598a0195f (diff) | |
download | gitlab-ce-38c61ab6df15fbd1eab22a8dff8da01b17c075f3.tar.gz |
Fix specs failures, and use factory with `:ci_job_artifact, :archive`
Diffstat (limited to 'spec/models/project_statistics_spec.rb')
-rw-r--r-- | spec/models/project_statistics_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_statistics_spec.rb b/spec/models/project_statistics_spec.rb index 95e8d519bdd..4496f91fc5e 100644 --- a/spec/models/project_statistics_spec.rb +++ b/spec/models/project_statistics_spec.rb @@ -137,7 +137,7 @@ describe ProjectStatistics do before do create(:ci_build, pipeline: pipeline, artifacts_size: 56.megabytes) - create(:ci_job_artifact, project: pipeline.project, job: ci_build) + create(:ci_job_artifact, :archive, project: pipeline.project, job: ci_build) statistics.update_build_artifacts_size end |