diff options
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/inflector_test.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/activesupport/test/inflector_test.rb b/activesupport/test/inflector_test.rb index ca3dbd9d64..22cb61ffd6 100644 --- a/activesupport/test/inflector_test.rb +++ b/activesupport/test/inflector_test.rb @@ -380,23 +380,6 @@ class InflectorTest < ActiveSupport::TestCase assert !ActiveSupport::Inflector.inflections.plurals.empty? assert !ActiveSupport::Inflector.inflections.singulars.empty? end - - def test_inflector_with_default_locale - old_locale = I18n.locale - - begin - I18n.locale = :de - - ActiveSupport::Inflector.inflections(:de) do |inflect| - inflect.irregular 'region', 'regionen' - end - - assert_equal('regionen', 'region'.pluralize) - assert_equal('region', 'regionen'.singularize) - ensure - I18n.locale = old_locale - end - end def test_clear_all with_dup do |