spec/timeframe_spec.rb in timeframe-0.0.10 vs spec/timeframe_spec.rb in timeframe-0.0.11
- old
+ new
@@ -273,9 +273,9 @@
end
end
describe '#to_s' do
it 'should not only look at month numbers when describing multi-year timeframes' do
- Timeframe.multiyear(Date.parse('2008-01-01'), Date.parse('2010-01-01')).to_s.should == "the period from 01 January to 31 December 2009"
+ Timeframe.multiyear(Date.parse('2008-01-01'), Date.parse('2010-01-01')).to_s.should == "2008-01-01/2010-01-01"
end
end
end