mirror of
https://github.com/plashchynski/crono.git
synced 2026-04-22 16:58:42 +02:00
Refactoring
This commit is contained in:
@@ -6,7 +6,7 @@ end
|
||||
|
||||
describe Crono::PerformerProxy do
|
||||
it "should add job to schedule" do
|
||||
expect(Crono.scheduler).to receive(:add).with(kind_of(Crono::Job))
|
||||
expect(Crono.scheduler).to receive(:add_job).with(kind_of(Crono::Job))
|
||||
Crono.perform(TestJob).every(2.days, at: "15:30")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user