fix activerecord i18n_test to work with backend classes

This commit is contained in:
Sven Fuchs 2008-08-20 17:57:46 +02:00
parent 12d7872071
commit e43cdb93f0

@ -39,8 +39,8 @@ def test_translated_model_names_with_sti_fallback
end
private
def reset_translations
I18n.backend.send(:class_variable_set, :@@translations, {})
end
def reset_translations
I18n.backend = I18n::Backend::Simple.new
end
end