leshill/resque_spec — pull request #53 by dtsiknis (2012-05-21 20:51:20+00:00)
Title: Changed remove_delayed to return number of removed items to match resque...

..._scheduler behaviour.

Currently, ResqueSpec::remove_delayed returns the remaining items in the scheduler queue after the requested removal has been processed. ResqueScheduler, however, returns the number of items removed from the queue. This change brings ResqueSpec's mock behaviour inline with that of ResqueScheduler.

Based on ResqueScheduler version 2.0.0