Created
August 1, 2009 12:56
-
-
Save thedarkone/159652 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module ChainSetup | |
| def setup | |
| super | |
| first = I18n::Backend::Simple.new | |
| # first.store_translations(:en, translations) | |
| I18n.backend = I18n::Backend::Chain.new(first, I18n.backend) | |
| end | |
| def test_using_chain_backend | |
| assert_equal I18n::Backend::Chain, I18n.backend.class | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment