Commit 8bf94381 authored by Shinya Maeda's avatar Shinya Maeda

Revert using expand_fixture_path in factory

parent bbd00a9f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment