diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-03-15 18:03:37 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-03-15 18:04:17 +0900 |
commit | 8b0b8e3bc4b1832d7c66e88ec26a3e244a11fec5 (patch) | |
tree | b7b1a2d168472d34c1648349ecc482ae9a599795 /app/models/project.rb | |
parent | c13887a1c219e8ff1a5134d7bd12529cfe656c77 (diff) | |
download | gitlab-ce-8b0b8e3bc4b1832d7c66e88ec26a3e244a11fec5.tar.gz |
Use with_artifacts_archive name. Add spec
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index d51f7c9e8cd..8ed236e5c98 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -542,7 +542,7 @@ class Project < ActiveRecord::Base latest_pipeline = pipelines.latest_successful_for(ref) if latest_pipeline - latest_pipeline.builds.latest.with_artifacts(:archive) + latest_pipeline.builds.latest.with_artifacts_archive else builds.none end |