Fix create_trace_artifact_worker_spec.rb

This commit is contained in:
Shinya Maeda 2018-01-31 23:48:48 +09:00
parent 0a4f07229c
commit dd5922190b
1 changed files with 1 additions and 1 deletions

View File

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