From 402e0cbfd21c187b5dd50187e2f1ccfc70d4a63e Mon Sep 17 00:00:00 2001 From: Daniel Miranda Date: Mon, 18 Jul 2016 07:37:15 -0300 Subject: [PATCH] Fix missing mock in ProcessingJob spec --- spec/jobs/processing_job_spec.rb | 2 ++ 1 file changed, 2 insertions(+) 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