]> git.openstreetmap.org Git - rails.git/blobdiff - test/lib/i18n_test.rb
add lock, information and water classes for nominatim terms
[rails.git] / test / lib / i18n_test.rb
index ea6e4ae27361a312915da3a4f81e85e2df3052b2..fe94cbdd3604e1de39d2b8505891d7fcd51a3cdb 100644 (file)
@@ -42,7 +42,7 @@ class I18nTest < ActiveSupport::TestCase
 
             assert_includes value, :other, "#{key}.other plural key missing"
           else
-            assert value.is_a?(String), "#{key} is not a string"
+            assert_kind_of String, value, "#{key} is not a string"
 
             value.scan(/%\{(\w+)\}/) do
               assert_includes variables, Regexp.last_match(1), "#{key} uses unknown interpolation variable #{Regexp.last_match(1)}"