test/scheduler_3_test.rb in rufus-scheduler-1.0.7 vs test/scheduler_3_test.rb in rufus-scheduler-1.0.8
- old
+ new
@@ -39,10 +39,10 @@
assert_equal 1, scheduler.find_jobs('fish').size
scheduler.schedule "* * * * *", :tags => "fish" do
value = "cron-fish"
end
- scheduler.schedule "* * * * *", :tags => "vegetable" do
+ scheduler.cron "* * * * *", :tags => "vegetable" do
value = "daikon"
end
sleep 0.300 # let the jobs get really scheduled