Permalink
Browse files

comments to explain test models purpose

git-svn-id: http://xssterminate.googlecode.com/svn/trunk/xss_terminate@6 503a6658-bc44-0410-a8bd-599819d3de0a
  • Loading branch information...
1 parent 7d40eb2 commit 50ab1170ee324aae98615cc773b4979105d3a79d look@recursion.org committed Jun 2, 2008
Showing with 3 additions and 1 deletion.
  1. +1 −1 test/models/comment.rb
  2. +1 −0 test/models/message.rb
  3. +1 −0 test/models/review.rb
@@ -1,4 +1,4 @@
-# Commet uses the default: stripping tags fro all fields.
+# Comment uses the default: stripping tags from all fields before validation
class Comment < ActiveRecord::Base
belongs_to :entry
belongs_to :person
@@ -1,3 +1,4 @@
+# not sanitized
class Message < ActiveRecord::Base
belongs_to :person
end
@@ -1,3 +1,4 @@
+# this model uses html5lib sanitization
class Review < ActiveRecord::Base
belongs_to :person

0 comments on commit 50ab117

Please sign in to comment.