Revert using expand_fixture_path in factory
This commit is contained in:
parent
bbd00a9f20
commit
8bf9438150
|
@ -32,7 +32,7 @@ FactoryBot.define do
|
||||||
|
|
||||||
after(:build) do |artifact, evaluator|
|
after(:build) do |artifact, evaluator|
|
||||||
artifact.file = fixture_file_upload(
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue