Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #11489: fix_date_helper_test.rb

File fix_date_helper_test.rb, 452 bytes (added by miloops, 6 months ago)
Line 
1 Index: actionpack/test/template/date_helper_test.rb
2 ===================================================================
3 --- actionpack/test/template/date_helper_test.rb        (revision 9169)
4 +++ actionpack/test/template/date_helper_test.rb        (working copy)
5 @@ -84,7 +84,7 @@
6    end
7  
8    def test_distance_in_words
9 -    from = Time.mktime(2004, 6, 6, 21, 45, 0)
10 +    from = Time.utc(2004, 6, 6, 21, 45, 0)
11      assert_distance_of_time_in_words(from)
12    end
13