]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/i18n_test.rb
Update to iD v1.3.6
[rails.git] / test / unit / i18n_test.rb
index c1dacbff2b63aeb09946387fd17d2f5f5873b5c6..2fb13824ca0904bfecd67964c194003161285331 100644 (file)
@@ -24,6 +24,10 @@ class I18nTest < ActiveSupport::TestCase
           end
         end
 
+        if key =~ /^(active(model|record)\.)?errors\./
+          variables.push("attribute")
+        end
+
         value = I18n.t(key, :locale => locale, :fallback => true)
 
         if value.is_a?(Hash)