added favorite unit tests

This commit is contained in:
albert
2010-02-12 18:46:43 -05:00
parent b1c7fd04a8
commit 661c214094
7 changed files with 80 additions and 5 deletions

View File

@@ -2,4 +2,5 @@ class PostVersion < ActiveRecord::Base
class Error < Exception ; end
validates_presence_of :updater_id, :updater_ip_addr
belongs_to :post
end