Skip to content

Commit af3522c

Browse files
committed
Set system time zone for all #from_ical examples.
1 parent a8f20ed commit af3522c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spec/examples/from_ical_spec.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ module IceCube
9494

9595
end
9696

97-
describe Schedule, 'from_ical' do
97+
describe Schedule, 'from_ical', system_time_zone: "America/Chicago" do
9898

9999
ical_string = <<-ICAL.gsub(/^\s*/, '')
100100
DTSTART:20130314T201500Z
@@ -253,10 +253,9 @@ def sorted_ical(ical)
253253
end
254254
end
255255

256-
describe 'monthly frequency', system_time_zone: "America/Chicago" do
256+
describe 'monthly frequency' do
257257
it 'matches simple monthly' do
258258
start_time = Time.now
259-
puts Time.now
260259
schedule = IceCube::Schedule.new(start_time)
261260
schedule.add_recurrence_rule(IceCube::Rule.monthly)
262261

0 commit comments

Comments
 (0)