Commit dd592219 authored by Shinya Maeda's avatar Shinya Maeda

Fix create_trace_artifact_worker_spec.rb

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