Sha256: bff738b60114a8d105e0513b11a010afa80012e7ead392b1b886ebe005018658
Contents?: true
Size: 288 Bytes
Versions: 2
Compression:
Stored size: 288 Bytes
Contents
require "spec_helper" class TestJob def perform;end end describe Crono::PerformerProxy do it "should add job and period to schedule" do expect(Crono.schedule).to receive(:add).with(TestJob, kind_of(Crono::Period)) Crono.perform(TestJob).every(2.days, at: "15:30") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
crono-0.5.1 | spec/performer_proxy_spec.rb |
crono-0.5.0 | spec/performer_proxy_spec.rb |