test/scheduler_test.rb in resque-scheduler-0.0.1 vs test/scheduler_test.rb in resque-scheduler-1.0.0
- old
+ new
@@ -13,10 +13,10 @@
def test_config_makes_it_into_the_rufus_scheduler
assert_equal(0, Resque::Scheduler.rufus_scheduler.all_jobs.size)
Resque.schedule = {:some_ivar_job => {'cron' => "* * * * *", 'class' => 'SomeIvarJob', 'args' => "/tmp"}}
- Resque::Scheduler.run(false)
+ Resque::Scheduler.load_schedule!
assert_equal(1, Resque::Scheduler.rufus_scheduler.all_jobs.size)
end
end
\ No newline at end of file