diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-08-24 11:08:49 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-08-24 11:08:49 -0700 |
commit | 950ea332425ca862f4f38d01ddb2db7073b744c1 (patch) | |
tree | eb32a3e21841b5f317be84ed56c9ce7dbdfa023e /activerecord | |
parent | 3c52c4c12bb08321a2e10974ec281e03b9f8d539 (diff) | |
download | rails-950ea332425ca862f4f38d01ddb2db7073b744c1.tar.gz rails-950ea332425ca862f4f38d01ddb2db7073b744c1.tar.bz2 rails-950ea332425ca862f4f38d01ddb2db7073b744c1.zip |
Fix test to assign the module instead of a new instance
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/i18n_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/i18n_test.rb b/activerecord/test/cases/i18n_test.rb index 06036733f5..9f934ab569 100644 --- a/activerecord/test/cases/i18n_test.rb +++ b/activerecord/test/cases/i18n_test.rb @@ -40,7 +40,7 @@ class ActiveRecordI18nTests < Test::Unit::TestCase private def reset_translations - I18n.backend = I18n::Backend::Simple.new + I18n.backend = I18n::Backend::Simple end end |