Commit 23ca10b9 authored by Shinya Maeda's avatar Shinya Maeda

Alessio catches: Test fix

parent 11a37c40
......@@ -32,7 +32,7 @@ FactoryBot.define do
after(:build) do |artifact, evaluator|
artifact.file = fixture_file_upload(
Rails.root.join('spec/fixtures/trace/sample_trace'), 'text/plain')
expand_fixture_path('trace/sample_trace'), 'text/plain')
end
end
end
......
......@@ -9,7 +9,7 @@ describe CreateTraceArtifactWorker do
it 'executes service' do
expect_any_instance_of(Ci::CreateTraceArtifactService)
.to receive(:execute)
.to receive(:execute).with(job)
subject
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