プロジェクト

全般

プロフィール

Vote #68931

完了

Test test_due_date_distance_in_words fail due to undefined locale

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
I18n_37
対象バージョン:
開始日:
2011/01/10
期日:
進捗率:

0%

予定工数:
category_id:
37
version_id:
30
issue_org_id:
7266
author_id:
6508
assigned_to_id:
0
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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'

journals

r4677 should fix it.
--------------------------------------------------------------------------------
Merged in 1.1-stable.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリI18n_37 にセット
  • 対象バージョン1.1.1_30 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0