Sha256: 7cd327126c59d2727fe4abc4fa262dbd0ec00c75a6f70601b4aea8f7d6161484

Contents?: true

Size: 233 Bytes

Versions: 1

Compression:

Stored size: 233 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
crono-0.8.1 spec/performer_proxy_spec.rb