spec/statused_routines_spec.rb in lev-7.1.0 vs spec/statused_routines_spec.rb in lev-8.0.0

- old
+ new

@@ -25,10 +25,10 @@ it 'sets the job_name on the status' do expect(status.job_name).to eq routine_class.name end it 'sets the provider_job_id on the status' do - expect_any_instance_of(Lev::ActiveJob::Base).to receive(:provider_job_id).and_return(42) + allow_any_instance_of(Lev::ActiveJob::Base).to receive(:provider_job_id).and_return(42) expect(status.provider_job_id).to eq 42 end it 'sets the status to queued' do