Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added regression test for [#53]

  • Loading branch information...
commit 0b8ee2474005ac7b8e9d3f4846039344bcfe7319 1 parent 719bf5b
@seejohnrun authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 spec/examples/regression_spec.rb
View
6 spec/examples/regression_spec.rb
@@ -113,6 +113,12 @@
require 'active_support/time'
+ it 'should not hang over DST [#53]' do
+ schedule = IceCube::Schedule.new Time.now, :end_time => 4.years.from_now.end_of_year
+ schedule.rrule IceCube::Rule.monthly
+ schedule.occurrences 2.years.from_now
+ end
+
it 'should not hang next_time on DST boundary [#98]' do # set local to Sweden
schedule = IceCube::Schedule.from_yaml <<-EOS
:start_date: 2012-09-03 0:00:00.000000000 +00:00
Please sign in to comment.
Something went wrong with that request. Please try again.