Sha256: 32a7f110a76e13f617cc80e50a21b7d58acc568b3642870b8ac94c56477a21b0
Contents?: true
Size: 496 Bytes
Versions: 1
Compression:
Stored size: 496 Bytes
Contents
require 'spec_helper' # require 'time-lord' # To test and make sure that none of the included gems or any core extensions of this gem fuck up the # normal date calculation/comparison etc functionality of Ruby and Rails ;) describe 'Ensure system Time calculations still operate as the should!' do it 'should add Time + Time normally' do expect(1.days + 3.days).to eq 4.days end it 'should add Date + Time normally' do expect(Date.today + 3.days).to eq 3.days.from_now end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
timespan-0.6.0 | spec/timespan/system_spec.rb |