spec/timespan_spec.rb in timespan-0.2.7 vs spec/timespan_spec.rb in timespan-0.2.8

- old
+ new

@@ -36,9 +36,10 @@ DateTime.parse(subject.start_date.to_s).strftime('%d %b %Y').should == Date.today.strftime('%d %b %Y') end end end + context '3 hrs duration from now 2 days from now' do let(:timespan) { Timespan.new("3 hrs").from(2.days.from_now) } describe '.start_date' do its(:start_date) { should be }