summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2018-10-22 08:09:40 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2018-10-22 08:09:40 +0000
commit44a9231d19f88c5551f7184917ddc4bba13e7d00 (patch)
tree8c519413eb3d9576d2a9179619cc102485a26e0e /spec/factories
parentfbb0f71237fca77746e84ba4cea837472a178f4d (diff)
parent15cd91c71a57a0b84af620181a64b26d5aec8237 (diff)
downloadgitlab-ce-44a9231d19f88c5551f7184917ddc4bba13e7d00.tar.gz
Merge branch 'use-raw-file-format' into 'master'
Add RAW file format which is used to store security reports Closes gitlab-ee#7996 See merge request gitlab-org/gitlab-ce!22365
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/ci/job_artifacts.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/ci/job_artifacts.rb b/spec/factories/ci/job_artifacts.rb
index e0aeadeecd7..2c76c22ba69 100644
--- a/spec/factories/ci/job_artifacts.rb
+++ b/spec/factories/ci/job_artifacts.rb
@@ -119,11 +119,11 @@ FactoryBot.define do
trait :codequality do
file_type :codequality
- file_format :gzip
+ file_format :raw
after(:build) do |artifact, evaluator|
artifact.file = fixture_file_upload(
- Rails.root.join('spec/fixtures/codequality/codequality.json.gz'), 'application/x-gzip')
+ Rails.root.join('spec/fixtures/codequality/codequality.json'), 'application/json')
end
end