test/test_helper.rb in resque-throttle-0.2.4 vs test/test_helper.rb in resque-throttle-0.2.6

- old
+ new

@@ -20,32 +20,25 @@ end end class OneHourThrottledJob < Resque::ThrottledJob @queue = :some_queue + throttle :can_run_every => 3600 - throttle :can_run_every => 3600, - :enqueued => "Yada Yada", - :throttled => "Yada Yada", - :latest => "Yada Yada" - - def self.perform(some_id, some_other_thing) end end class IdetifierThrottledJob < Resque::ThrottledJob @queue = :some_queue - throttle :identifier => "my_identifier" def self.perform(some_id, some_other_thing) end end class DisabledThrottledJob < Resque::ThrottledJob @queue = :some_queue - throttle :disabled => true def self.perform(some_id, some_other_thing) end end