mirror of
https://github.com/github/rails.git
synced 2026-01-30 08:48:06 -05:00
Give time_ago_in_words test some DST slop.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -93,8 +93,7 @@ class DateHelperTest < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
def test_time_ago_in_words
|
||||
t = Time.now - 1.years
|
||||
assert_equal "about 1 year", time_ago_in_words(t)
|
||||
assert_equal "about 1 year", time_ago_in_words(1.year.ago - 1.day)
|
||||
end
|
||||
|
||||
def test_select_day
|
||||
|
||||
Reference in New Issue
Block a user