]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/node_tag_test.rb
Relation Tag testing. Also sort the belong_to/has_many for user/changeset/old_way.
[rails.git] / test / unit / node_tag_test.rb
index fe6ebb166f2e949eade96120d3aa4a0a6fef43b7..9d3da03b1ea40ffb9b6d97ce6e6fd05605732fdf 100644 (file)
@@ -46,8 +46,8 @@ class NodeTagTest < Test::Unit::TestCase
       tag = NodeTag.new
       tag.id = current_node_tags(:t1).id
       tag.k = i
-      tag.v = "v", "Key should be too long"
-      assert !tag.valid?
+      tag.v = "v"
+      assert !tag.valid?, "Key should be too long"
       assert tag.errors.invalid?(:k)
     end
   end