mirror of
https://github.com/plashchynski/crono.git
synced 2026-01-14 22:33:26 +01:00
9 lines
233 B
Ruby
9 lines
233 B
Ruby
require 'spec_helper'
|
|
|
|
describe Crono::PerformerProxy do
|
|
it 'should add job to schedule' do
|
|
expect(Crono.scheduler).to receive(:add_job).with(kind_of(Crono::Job))
|
|
Crono.perform(TestJob).every(2.days, at: '15:30')
|
|
end
|
|
end
|