Commit 8ab65398d248c27a27768dc0efd430ee61295d01
1 parent
1c598979
Exists in
staging
and in
42 other branches
ActionItem830: removing commented test
liblocale-ruby is deprecated, anyway.
Showing
1 changed file
with
0 additions
and
11 deletions
Show diff stats
test/integration/locale_setting_test.rb
| @@ -77,17 +77,6 @@ class LocaleSettingTest < ActionController::IntegrationTest | @@ -77,17 +77,6 @@ class LocaleSettingTest < ActionController::IntegrationTest | ||
| 77 | def assert_locale(locale) | 77 | def assert_locale(locale) |
| 78 | gettext_locale = GetText.locale.to_s | 78 | gettext_locale = GetText.locale.to_s |
| 79 | ok("Ruby-GetText locale should be #{locale}, but was #{gettext_locale}") { locale == gettext_locale } | 79 | ok("Ruby-GetText locale should be #{locale}, but was #{gettext_locale}") { locale == gettext_locale } |
| 80 | - | ||
| 81 | - # TODO this test depends on a unpublished patch to liblocale-ruby | ||
| 82 | - #system_locale = Locale.getlocale | ||
| 83 | - #wanted_system_locale = | ||
| 84 | - # if locale == 'en' | ||
| 85 | - # 'C' | ||
| 86 | - # else | ||
| 87 | - # '%s.utf8' % locale | ||
| 88 | - # end | ||
| 89 | - | ||
| 90 | - #ok("System locale should be #{wanted_system_locale}, but was #{system_locale}") { wanted_system_locale == system_locale } | ||
| 91 | end | 80 | end |
| 92 | 81 | ||
| 93 | end | 82 | end |