Commit 29aa9ef4 authored by Shinya Maeda's avatar Shinya Maeda

Fix create_trace_artifact_worker_spec.rb

parent 09de9c7a
...@@ -2,7 +2,7 @@ require 'spec_helper' ...@@ -2,7 +2,7 @@ require 'spec_helper'
describe CreateTraceArtifactWorker do describe CreateTraceArtifactWorker do
describe '#perform' do describe '#perform' do
subject { described_class.new.perform(job) } subject { described_class.new.perform(job&.id) }
context 'when job is found' do context 'when job is found' do
let(:job) { create(:ci_build) } let(:job) { create(:ci_build) }
......
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