Alessio catches: Test fix

This commit is contained in:
Shinya Maeda 2018-02-02 23:31:06 +09:00
parent 11a37c40da
commit 23ca10b914
2 changed files with 2 additions and 2 deletions

View File

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

View File

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