Sha256: dfbc8dda6be71559436e9f26c9427cb5f1590b956a71c551458617eec4b1e3f4
Contents?: true
Size: 387 Bytes
Versions: 2
Compression:
Stored size: 387 Bytes
Contents
require 'spec_helper' describe IceCubeEx::Rule do describe '.day_cycle' do context 'cycle 5 days, ' \ 'skip 3 days' do let(:cycle) { 5 } let(:skip) { 3 } before { @rule = IceCubeEx::Rule.day_cycle(cycle, skip) } it 'returns an instance of DayCycleRule' do expect(@rule.class).to eq(IceCubeEx::DayCycleRule) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ice_cube_ex-0.2.1 | spec/ice_cube_ex/rule_spec.rb |
ice_cube_ex-0.2.0 | spec/ice_cube_ex/rule_spec.rb |