Commit 7829372a authored by Shinya Maeda's avatar Shinya Maeda
Browse files

Alessio catches: Test fix

parent de363619aa09
......@@ -32,7 +32,7 @@
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 @@
it 'executes service' do
expect_any_instance_of(Ci::CreateTraceArtifactService)
.to receive(:execute)
.to receive(:execute).with(job)
subject
end
......
Supports Markdown
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