mperham/sidekiq — pull request #334 by nberger (2012-08-05 22:55:07+00:00)
Title: Added method in testing for running only due jobs

I've added the method drain_due_jobs in testing infrastructure to allow running only due jobs. Jobs not due will be kept in jobs list so they could be drained later.

Tests need to "travel" in time, so I've added the timecop gem as a development dependency.