Adding validations for the length of node tags, and the presence of the id (and version). More tests, including some boiler plate tests.

This commit is contained in:
Shaun McDonald 2008-11-17 18:53:09 +00:00
parent 495bd7f1f0
commit 9a4ea6bfd0
10 changed files with 179 additions and 33 deletions

View file

@ -0,0 +1,11 @@
require File.dirname(__FILE__) + '/../test_helper'
class DiaryCommentTest < Test::Unit::TestCase
fixtures :diary_comments
def test_diary_comment_count
assert_equal 1, DiaryComment.count
end
end