Class: I18nFallbacksBackendTest

Inherits:
Test::Unit::TestCase
  • Object
show all
Defined in:
lib/vendor/i18n/test/backend/fallbacks/fallbacks_test.rb

Instance Method Summary collapse

Instance Method Details

#setupObject



7
8
9
10
11
# File 'lib/vendor/i18n/test/backend/fallbacks/fallbacks_test.rb', line 7

def setup
  I18n.backend = I18n::Backend::Simple.new
  I18n.backend.meta_class.send(:include, I18n::Backend::Fallbacks)
  backend_store_translations(:en, :foo => 'Foo')
end