Sha256: caf6f41d03e9b47dd3e0a72d526de4303d17fcace5c9bc6238bdde40ec8adbc7
Contents?: true
Size: 291 Bytes
Versions: 3
Compression:
Stored size: 291 Bytes
Contents
module EDTF describe 'Interval' do describe 'when it ends in 2008' do let(:interval) { Interval.new(Date.new(2007), Date.new(2008)) } it 'should include any day in the year 2008' do interval.should include(Date.new(2008, 12, 31)) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
edtf-0.0.6 | spec/edtf/interval_spec.rb |
edtf-0.0.5 | spec/edtf/interval_spec.rb |
edtf-0.0.4 | spec/edtf/interval_spec.rb |