diff --git a/spec/jobs/processing_job_spec.rb b/spec/jobs/processing_job_spec.rb index bad0382..49e12fd 100644 --- a/spec/jobs/processing_job_spec.rb +++ b/spec/jobs/processing_job_spec.rb @@ -29,6 +29,8 @@ Processor::Aggregator.expects(:perform) Processor::CompoundResultCalculator.expects(:perform) Processor::Interpreter.expects(:perform) + + periodic_processing.expects(:update).with(state: "READY") end it 'should process the repository periodically' do