]> git.openstreetmap.org Git - rails.git/blobdiff - test/lib/locale_test.rb
separate translatable messages for privacy policy link in sign up form
[rails.git] / test / lib / locale_test.rb
index d842390388473757180b18ecd41118df0065d696..9aec035d1c45006b74cfb176dfbc85b08950c256 100644 (file)
@@ -80,7 +80,7 @@ class LocaleTest < ActiveSupport::TestCase
   end
 
   def test_available
-    assert Locale.available.count <= I18n.available_locales.count
+    assert_operator Locale.available.count, :<=, I18n.available_locales.count
   end
 
   def test_preferred