Revert using expand_fixture_path in factory

This commit is contained in:
Shinya Maeda 2018-02-05 18:11:13 +09:00
parent bbd00a9f20
commit 8bf9438150
1 changed files with 1 additions and 1 deletions

View File

@ -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