]> git.openstreetmap.org Git - rails.git/blobdiff - test/lib/i18n_test.rb
On hover, change border to a subtle darker orange, increase strokeWidth
[rails.git] / test / lib / i18n_test.rb
index 689f65097530a481749237099d14f9679a3e5c6a..3aa528ceb819db6244b9e54b7b971d005657cb23 100644 (file)
@@ -24,9 +24,7 @@ class I18nTest < ActiveSupport::TestCase
           end
         end
 
-        if key =~ /^(active(model|record)\.)?errors\./
-          variables.push("attribute")
-        end
+        variables.push("attribute") if key =~ /^(active(model|record)\.)?errors\./
 
         value = I18n.t(key, :locale => locale, :fallback => true)