From 8bf9438150deda0562429b3f6658973247a957f9 Mon Sep 17 00:00:00 2001 From: Shinya Maeda Date: Mon, 5 Feb 2018 18:11:13 +0900 Subject: [PATCH] Revert using expand_fixture_path in factory --- spec/factories/ci/job_artifacts.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/factories/ci/job_artifacts.rb b/spec/factories/ci/job_artifacts.rb index 8dd07d8ba16..7ee379ca2ec 100644 --- a/spec/factories/ci/job_artifacts.rb +++ b/spec/factories/ci/job_artifacts.rb @@ -32,7 +32,7 @@ FactoryBot.define do after(:build) do |artifact, evaluator| artifact.file = fixture_file_upload( - expand_fixture_path('trace/sample_trace'), 'text/plain') + Rails.root.join('spec/fixtures/trace/sample_trace'), 'text/plain') end end end