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

- old
+ new

@@ -28,12 +28,17 @@ end end class IdetifierThrottledJob < Resque::ThrottledJob @queue = :some_queue - throttle :identifier => "my_identifier" + throttle :can_run_every => 3600 + def self.perform(some_id, some_other_thing) + end + + def self.identifier(*args) + "my_identifier" end end class DisabledThrottledJob < Resque::ThrottledJob @queue = :some_queue