Class: I18nChainBackendApiTranslateTest

Inherits:
Test::Unit::TestCase
  • Object
show all
Includes:
ChainSetup, Tests::Backend::Api::Translation, Tests::Backend::Simple::Setup::Base
Defined in:
lib/vendor/i18n/test/backend/chain/api_test.rb

Method Summary

Methods included from Tests::Backend::Api::Translation

#test_given_no_keys_it_returns_the_default, #test_translate_an_array_of_keys_translates_all_of_them, #test_translate_default_with_scope_stays_in_scope_when_looking_up_the_symbol, #test_translate_given_a_symbol_as_a_default_translates_the_symbol, #test_translate_given_an_array_as_default_uses_the_first_match, #test_translate_given_an_array_of_inexistent_keys_it_raises_missing_translation_data, #test_translate_given_nil_as_a_locale_raises_an_argument_error, #test_translate_with_a_missing_key_and_no_default_raises_missing_translation_data, #translate

Methods included from ChainSetup

#setup, #test_using_chain_backend

Methods included from Tests::Backend::Simple::Setup::Base

#setup, #teardown