diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-08-02 17:15:25 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-08-02 17:15:25 +0900 |
commit | 8e0558eac46834dbc6946fc2d1a1cb860e297c4b (patch) | |
tree | ecebb2d0a59b9b64e001e806832f08fba437b706 /spec/factories | |
parent | 280559f404656568b15adfe753f81f8d41de4098 (diff) | |
download | gitlab-ce-8e0558eac46834dbc6946fc2d1a1cb860e297c4b.tar.gz |
Fix fixtures and factory
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/job_artifacts.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/ci/job_artifacts.rb b/spec/factories/ci/job_artifacts.rb index bc73a31d189..46aaaf6aa5d 100644 --- a/spec/factories/ci/job_artifacts.rb +++ b/spec/factories/ci/job_artifacts.rb @@ -50,7 +50,7 @@ FactoryBot.define do after(:build) do |artifact, evaluator| artifact.file = fixture_file_upload( - Rails.root.join('spec/fixtures/junit.xml.gz'), 'application/x-gzip') + Rails.root.join('spec/fixtures/junit/junit.xml.gz'), 'application/x-gzip') end end @@ -60,7 +60,7 @@ FactoryBot.define do after(:build) do |artifact, evaluator| artifact.file = fixture_file_upload( - Rails.root.join('spec/fixtures/junit/junit_master_ant.xml.gz'), 'application/x-gzip') + Rails.root.join('spec/fixtures/junit/junit_ant.xml.gz'), 'application/x-gzip') end end |