Class I18nSimpleBackendHelperMethodsTest
In: vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/simple_backend_test.rb
Parent: Test::Unit::TestCase

Methods

Public Instance methods

[Source]

     # File vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/simple_backend_test.rb, line 473
473:   def setup
474:     @backend = I18n::Backend::Simple.new
475:   end

[Source]

     # File vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/simple_backend_test.rb, line 477
477:   def test_deep_symbolize_keys_works
478:     result = @backend.send :deep_symbolize_keys, 'foo' => {'bar' => {'baz' => 'bar'}}
479:     expected = {:foo => {:bar => {:baz => 'bar'}}}
480:     assert_equal expected, result
481:   end

[Validate]