spec/spec_helper.rb in resque-timeframe-0.1.0 vs spec/spec_helper.rb in resque-timeframe-0.2.0

- old
+ new

@@ -63,10 +63,19 @@ @queue = :timeframed_queue def self.perform(args); end end class WorkingDaysTimeframeJob < Resque::Plugins::TimeframedJob + timeframe :recurrent => 900 timeframe week - [:saturday, :sunday] => 0..9 # 24 hour format + + @queue = :timeframed_queue + def self.perform(args); end +end + +class JunkTimeframeJob < Resque::Plugins::TimeframedJob + timeframe :recurrent => false + timeframe week - [:saturday, :sunday] => 0..9 @queue = :timeframed_queue def self.perform(args); end end