Sha256: 8fb45c2d2e31d0cb2ba2f6d944cd108cc11b60618957e9c239cc1ecaba892d1c
Contents?: true
Size: 270 Bytes
Versions: 2
Compression:
Stored size: 270 Bytes
Contents
require "spec_helper" class TestJob def perform;end end 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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
crono-0.7.0 | spec/performer_proxy_spec.rb |
crono-0.6.1 | spec/performer_proxy_spec.rb |