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

Changeset 8518

Show
Ignore:
Timestamp:
01/02/08 08:26:37 (10 months ago)
Author:
bitsweat
Message:

Fix invalid time test. Closes #10632 [Dirkjan Bussink]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activesupport/CHANGELOG

    r8516 r8518  
    77* Hash#symbolize_keys skips keys that can't be symbolized.  #10500 [Brad Greenlee] 
    88 
    9 * Ruby 1.9 compatibility.  #1689, #10466, #10468, #10554 [Cheah Chu Yeow, Pratik Naik, Jeremy Kemper, Dirkjan Bussink] 
     9* Ruby 1.9 compatibility.  #1689, #10466, #10468, #10554, #10632 [Cheah Chu Yeow, Pratik Naik, Jeremy Kemper, Dirkjan Bussink] 
    1010 
    1111* TimeZone#to_s uses UTC rather than GMT.  #1689 [Cheah Chu Yeow] 
  • trunk/activesupport/test/core_ext/time_ext_test.rb

    r8199 r8518  
    278278    with_timezone 'US/Eastern' do 
    279279      assert_equal Time.local(2005,2,28), Time.local(2005,2,22,15,15,10).next_week 
    280       assert_equal Time.local(2005,2,29), Time.local(2005,2,22,15,15,10).next_week(:tuesday) 
     280      assert_equal Time.local(2005,3,1), Time.local(2005,2,22,15,15,10).next_week(:tuesday) 
    281281      assert_equal Time.local(2005,3,4), Time.local(2005,2,22,15,15,10).next_week(:friday) 
    282282      assert_equal Time.local(2006,10,30), Time.local(2006,10,23,0,0,0).next_week 
  • trunk/activesupport/test/multibyte_chars_test.rb

    r8460 r8518  
    11require 'abstract_unit' 
    22 
    3 if RUBY_VERSION >= '1.9' 
    4   class CharsTest < Test::Unit::TestCase 
    5     def test_chars_returns_self 
    6       str = 'abc' 
    7       assert_equal str.object_id, str.chars.object_id 
    8     end 
    9   end 
    10 else 
     3if RUBY_VERSION < '1.9' 
    114 
    125$KCODE = 'UTF8'