Merged r4677 from trunk.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.1-stable@4769 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-01-30 06:05:54 +00:00
parent 8270ad1e64
commit c73d4042d1
1 changed files with 1 additions and 0 deletions

View File

@ -610,6 +610,7 @@ EXPECTED
Date.today - 100 => 'about 3 months late',
Date.today - 20000 => 'over 54 years late',
}
::I18n.locale = :en
to_test.each do |date, expected|
assert_equal expected, due_date_distance_in_words(date)
end