Sha256: ead83c4ec47b6aa9008825c3e44b72a1d776ba9f21732c600161ab8cc92eeddb

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

# encoding: utf-8

require 'minitest_helper'
require 'say_when/triggers/cron_strategy'

describe SayWhen::Triggers::CronStrategy do
  it 'should be constucted with a cron expression' do
    t = SayWhen::Triggers::CronStrategy.new(expression: '0 0 * ? * * *', job: {})
    expect(t).wont_be_nil
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
say_when-2.2.2 test/say_when/triggers/cron_strategy_test.rb