lib/resque_spec/scheduler.rb in resque_spec-0.6.6 vs lib/resque_spec/scheduler.rb in resque_spec-0.6.7

- old
+ new

@@ -10,10 +10,10 @@ ResqueSpec.enqueue_in(time, klass, *args) end end def enqueue_at(time, klass, *args) - store(schedule_queue_name(klass), klass, { :class => klass.to_s, :time => time, :args => args }) + store(schedule_queue_name(klass), :class => klass.to_s, :time => time, :args => args) end def enqueue_in(time, klass, *args) enqueue_at(Time.now + time, klass, *args) end