Ticket #10073: test_datetime.patch
| File test_datetime.patch, 446 bytes (added by lawrence, 1 year ago) |
|---|
-
activerecord/test/date_time_test.rb
old new 4 4 5 5 class DateTimeTest < Test::Unit::TestCase 6 6 def test_saves_both_date_and_time 7 now = 200.years.ago.to_datetime7 now = 50.years.ago.to_datetime 8 8 9 9 task = Task.new 10 10 task.starting = now