Skip to content

Commit

Permalink
Added regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
seejohnrun committed Dec 8, 2011
1 parent 5f63e5e commit 831dfa9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/examples/regression_spec.rb
Expand Up @@ -25,4 +25,10 @@
schedule.first(10).map(&:year).uniq.size.should == 1
end

it 'should not regress - issue 45' do
rule = IceCube::Rule.monthly.day(5).hour_of_day(14).second_of_minute(0).day_of_month(13).minute_of_hour(0).month_of_year(10)
schedule = IceCube::Schedule.new
schedule.rrule rule
end

end

0 comments on commit 831dfa9

Please sign in to comment.