Print schedule on load

This commit is contained in:
Dzmitry Plashchynski
2015-03-05 14:06:40 +02:00
parent 007989fa2c
commit 8ce3673368
3 changed files with 9 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ describe Crono::Schedule do
Crono::Period.new(1.day, at: "15:30"),
Crono::Period.new(7.day, at: "06:05")
].map { |period| Crono::Job.new(TestJob, period) }
@schedule.schedule = @jobs
@schedule.jobs = @jobs
end
describe "#next" do