Skip to content

Instantly share code, notes, and snippets.

@thedarkone
Created August 1, 2009 12:56
Show Gist options
  • Save thedarkone/159652 to your computer and use it in GitHub Desktop.
Save thedarkone/159652 to your computer and use it in GitHub Desktop.
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