##// END OF EJS Templates
Make sure en is the current locale when running the test (#7266)....
Jean-Philippe Lang -
r4557:bebde1596cf5
parent child
Show More
@@ -610,6 +610,7 EXPECTED
610 610 Date.today - 100 => 'about 3 months late',
611 611 Date.today - 20000 => 'over 54 years late',
612 612 }
613 ::I18n.locale = :en
613 614 to_test.each do |date, expected|
614 615 assert_equal expected, due_date_distance_in_words(date)
615 616 end
General Comments 0
You need to be logged in to leave comments. Login now