require File.dirname(__FILE__) + '/../test_helper'
-class ChangesetTagTest < Test::Unit::TestCase
+class ChangesetTagTest < ActiveSupport::TestCase
api_fixtures
def test_changeset_tag_count
- assert_equal 1, ChangesetTag.count
+ assert_equal 2, ChangesetTag.count
end
def test_length_key_valid
tag.id = 1
tag.k = key*i
tag.v = "v"
- assert_valid tag
+ assert tag.valid?
end
end
tag.id = 1
tag.k = "k"
tag.v = val*i
- assert_valid tag
+ assert tag.valid?
end
end