Rename Schedule to Scheduler

This commit is contained in:
Dzmitry Plashchynski
2015-03-05 15:13:48 +02:00
parent 368d9ee0a9
commit 59e71e89f3
7 changed files with 18 additions and 18 deletions

View File

@@ -6,7 +6,7 @@ end
describe Crono::PerformerProxy do
it "should add job to schedule" do
expect(Crono.schedule).to receive(:add).with(kind_of(Crono::Job))
expect(Crono.scheduler).to receive(:add).with(kind_of(Crono::Job))
Crono.perform(TestJob).every(2.days, at: "15:30")
end
end