]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/node_tag_test.rb
Move to version 2.3.2 of rails.
[rails.git] / test / unit / node_tag_test.rb
index fe0f112bf32edd0c0e75d11672c0fb5e6cf653f8..cfe0b57f22b26ae8a5d90402c2fd4d9deecbec5f 100644 (file)
@@ -1,6 +1,6 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
-class NodeTagTest < Test::Unit::TestCase
+class NodeTagTest < ActiveSupport::TestCase
   api_fixtures
   
   def test_tag_count
@@ -24,7 +24,7 @@ class NodeTagTest < Test::Unit::TestCase
       tag.id = current_node_tags(:t1).id
       tag.k = key*i
       tag.v = "v"
-      assert_valid tag
+      assert tag.valid?
     end
   end
   
@@ -35,7 +35,7 @@ class NodeTagTest < Test::Unit::TestCase
       tag.id = current_node_tags(:t1).id
       tag.k = "k"
       tag.v = val*i
-      assert_valid tag
+      assert tag.valid?
     end
   end