diff --git a/spec/lib/chained_job/process_spec.rb b/spec/lib/chained_job/process_spec.rb index b38bf1c..22280c5 100644 --- a/spec/lib/chained_job/process_spec.rb +++ b/spec/lib/chained_job/process_spec.rb @@ -53,10 +53,9 @@ let(:handle_retry?) { true } it 'pushes argument back and raises error' do - # Temporarily commenting this out - # expect(ChainedJob.redis) - # .to receive(:call) - # .with(:rpush, redis_key, ChainedJob::Helpers.serialize([101])).and_call_original + expect(ChainedJob.redis) + .to receive(:call) + .with(:rpush, redis_key, ChainedJob::Helpers.serialize([101])).and_call_original # subject expect { subject }.to raise_error('Runtime error')