Actions
Defect #7266
closedTest test_due_date_distance_in_words fail due to undefined locale
Start date:
2011-01-10
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Overloaded ActiveView::Helpers::DateHelper::due_date_distance_in_words()
method returns a localized string which depends upon current I18n.locale value.
When running in a batch, the test test_due_date_distance_in_words
fail if this value have been set by a previous translation test to something else than default 'en'.
Test trace :
<"over 54 years late"> expected but was <"oltre 54 anni di ritardo">. test/unit/helpers/application_helper_test.rb:615:in `test_due_date_distance_in_words' test/unit/helpers/application_helper_test.rb:614:in `each' test/unit/helpers/application_helper_test.rb:614:in `test_due_date_distance_in_words' D:\install\eclipse_b\eclipse\configuration\org.eclipse.osgi\bundles\948\1\.cp\testing\dltk-testunit-runner.rb:77:in `start'
Updated by Jean-Philippe Lang almost 14 years ago
- Status changed from New to Resolved
- Target version set to 1.1.1
- Resolution set to Fixed
r4677 should fix it.
Updated by Jean-Philippe Lang almost 14 years ago
- Status changed from Resolved to Closed
Merged in 1.1-stable.
Actions