public void RemovesWorkerWithStringifiedId() { worker.work(0, (Job job) => { var workerId = Resque.workers()[0].workerId(); Resque.removeWorker(workerId); Assert.That(Resque.workers().Length, Is.EqualTo(0)); return(true); }); }
public void RemovesWorkerWithStringifiedId() { worker.work(0, (Job job) => { var workerId = Resque.workers()[0].workerId(); Resque.removeWorker(workerId); Assert.That(Resque.workers().Length, Is.EqualTo(0)); return(true); }); }