require File.dirname(__FILE__) + '/../test_helper'
-class NodeTagTest < Test::Unit::TestCase
+class NodeTagTest < ActiveSupport::TestCase
api_fixtures
def test_tag_count
tag.id = current_node_tags(:t1).id
tag.k = key*i
tag.v = "v"
- assert_valid tag
+ assert tag.valid?
end
end
tag.id = current_node_tags(:t1).id
tag.k = "k"
tag.v = val*i
- assert_valid tag
+ assert tag.valid?
end
end