Sha256: ec3f4d3041b668abd03f813b0e003bf424ede0a98a9f8638c9e06ac63803b7ca
Contents?: true
Size: 205 Bytes
Versions: 3
Compression:
Stored size: 205 Bytes
Contents
def reset_the_resque_schedule Resque.reset_delayed_queue Resque.queues.each { |q| Resque.remove_queue q } Resque.schedule = {} Resque::Scheduler.load_schedule! Resque::Scheduler.env = 'test' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
resque-scheduler-web-1.1.0 | spec/support/functions.rb |
resque-scheduler-web-1.0.1 | spec/support/functions.rb |
resque-scheduler-web-1.0.0 | spec/support/functions.rb |