]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/tracetag_test.rb
Bootstrap 5: Replace all form-group classes with mb-3
[rails.git] / test / models / tracetag_test.rb
index 1aaa596d2d5412aa2cd7131ca1a1731cf24c03e0..0d2b17953a6c0e888796f3abee97aa05985f51cc 100644 (file)
@@ -5,8 +5,8 @@ class TracetagTest < ActiveSupport::TestCase
     tracetag_valid({})
     tracetag_valid({ :tag => nil }, :valid => false)
     tracetag_valid({ :tag => "" }, :valid => false)
-    tracetag_valid(:tag => "a")
-    tracetag_valid(:tag => "a" * 255)
+    tracetag_valid({ :tag => "a" })
+    tracetag_valid({ :tag => "a" * 255 })
     tracetag_valid({ :tag => "a" * 256 }, :valid => false)
     tracetag_valid({ :tag => "a/b" }, :valid => false)
     tracetag_valid({ :tag => "a;b" }, :valid => false)