added forum topic/post

This commit is contained in:
albert
2010-02-20 20:25:01 -05:00
parent 0bb52fd63a
commit 9f05154a5a
11 changed files with 271 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
Factory.define(:forum_post) do |f|
f.creator {|x| x.association(:user)}
f.body {Faker::Lorem.sentences}
end