]> git.openstreetmap.org Git - rails.git/blobdiff - test/lib/i18n_test.rb
Localisation updates from https://translatewiki.net.
[rails.git] / test / lib / i18n_test.rb
index 3ead036ebc9a56401b7c4d4dfbe330e775afdd26..689f65097530a481749237099d14f9679a3e5c6a 100644 (file)
@@ -13,7 +13,7 @@ class I18nTest < ActiveSupport::TestCase
         if default_value.is_a?(Hash)
           variables.push("count")
 
-          default_value.each do |_subkey, subvalue|
+          default_value.each_value do |subvalue|
             subvalue.scan(/%\{(\w+)\}/) do
               variables.push(Regexp.last_match(1))
             end