<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,42 +5,37 @@ require 'models/reply'
 class ActiveRecordI18nTests &lt; Test::Unit::TestCase
 
   def setup
-    reset_translations
+    I18n.backend = I18n::Backend::Simple.new
   end
   
   def test_translated_model_attributes
-    I18n.store_translations 'en-US', :activerecord =&gt; {:attributes =&gt; {:topic =&gt; {:title =&gt; 'topic title attribute'} } }
+    I18n.backend.store_translations 'en-US', :activerecord =&gt; {:attributes =&gt; {:topic =&gt; {:title =&gt; 'topic title attribute'} } }
     assert_equal 'topic title attribute', Topic.human_attribute_name('title')
   end
 
   def test_translated_model_attributes_with_sti
-    I18n.store_translations 'en-US', :activerecord =&gt; {:attributes =&gt; {:reply =&gt; {:title =&gt; 'reply title attribute'} } }
+    I18n.backend.store_translations 'en-US', :activerecord =&gt; {:attributes =&gt; {:reply =&gt; {:title =&gt; 'reply title attribute'} } }
     assert_equal 'reply title attribute', Reply.human_attribute_name('title')
   end
 
   def test_translated_model_attributes_with_sti_fallback
-    I18n.store_translations 'en-US', :activerecord =&gt; {:attributes =&gt; {:topic =&gt; {:title =&gt; 'topic title attribute'} } }
+    I18n.backend.store_translations 'en-US', :activerecord =&gt; {:attributes =&gt; {:topic =&gt; {:title =&gt; 'topic title attribute'} } }
     assert_equal 'topic title attribute', Reply.human_attribute_name('title')
   end
 
   def test_translated_model_names
-    I18n.store_translations 'en-US', :activerecord =&gt; {:models =&gt; {:topic =&gt; 'topic model'} }
+    I18n.backend.store_translations 'en-US', :activerecord =&gt; {:models =&gt; {:topic =&gt; 'topic model'} }
     assert_equal 'topic model', Topic.human_name
   end
 
   def test_translated_model_names_with_sti
-    I18n.store_translations 'en-US', :activerecord =&gt; {:models =&gt; {:reply =&gt; 'reply model'} }
+    I18n.backend.store_translations 'en-US', :activerecord =&gt; {:models =&gt; {:reply =&gt; 'reply model'} }
     assert_equal 'reply model', Reply.human_name
   end
 
   def test_translated_model_names_with_sti_fallback
-    I18n.store_translations 'en-US', :activerecord =&gt; {:models =&gt; {:topic =&gt; 'topic model'} }
+    I18n.backend.store_translations 'en-US', :activerecord =&gt; {:models =&gt; {:topic =&gt; 'topic model'} }
     assert_equal 'topic model', Reply.human_name
   end
-
-  private
-    def reset_translations
-      I18n.backend = I18n::Backend::Simple.new
-    end
 end
 </diff>
      <filename>activerecord/test/cases/i18n_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0fcd5b5466461e44b6f3b007fa2a2fdf43f55681</id>
    </parent>
  </parents>
  <author>
    <name>Marko Seppae</name>
    <email>marko.seppa@gmail.com</email>
  </author>
  <url>http://github.com/rails/rails/commit/2d03a4c668b0229ad070c04a7c82bd803bc25788</url>
  <id>2d03a4c668b0229ad070c04a7c82bd803bc25788</id>
  <committed-date>2008-08-27T01:37:01-07:00</committed-date>
  <authored-date>2008-08-27T01:37:01-07:00</authored-date>
  <message>i18n: fixed failing tests after removing #populate and #store_translations</message>
  <tree>a2cc5f32053e2f6b787f74dec99b345fe751a754</tree>
  <committer>
    <name>Sven Fuchs</name>
    <email>svenfuchs@artweb-design.de</email>
  </committer>
</commit>
