@@ -610,6 +610,7 EXPECTED | |||||
610 | Date.today - 100 => 'about 3 months late', |
|
610 | Date.today - 100 => 'about 3 months late', | |
611 | Date.today - 20000 => 'over 54 years late', |
|
611 | Date.today - 20000 => 'over 54 years late', | |
612 | } |
|
612 | } | |
|
613 | ::I18n.locale = :en | |||
613 | to_test.each do |date, expected| |
|
614 | to_test.each do |date, expected| | |
614 | assert_equal expected, due_date_distance_in_words(date) |
|
615 | assert_equal expected, due_date_distance_in_words(date) | |
615 | end |
|
616 | end |
General Comments 0
You need to be logged in to leave comments.
Login now