Skip to content

Commit

Permalink
Ruby-1.9.2 spec fix
Browse files Browse the repository at this point in the history
  • Loading branch information
seejohnrun committed Dec 8, 2011
1 parent 4d8732a commit 2b17eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/examples/to_yaml_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
# This is a bug because to_datetime will always convert to system local time
it 'should be able to roll forward times and get back times in an array - TimeWithZone' do
Time.zone = "Eastern Time (US & Canada)"
start_date = Time.zone.now
start_date = Time.zone.local(2011, 11, 5, 12, 0, 0)
schedule = IceCube::Schedule.new(start_date)
schedule = IceCube::Schedule.from_yaml(schedule.to_yaml) # round trip
ice_cube_start_date = schedule.start_date
Expand Down

0 comments on commit 2b17eac

Please sign in to comment.