added artists, comments

This commit is contained in:
albert
2010-02-15 13:59:58 -05:00
parent 3d9d6e229a
commit e9c2d1e636
28 changed files with 1044 additions and 7 deletions

View File

@@ -0,0 +1,7 @@
Factory.define(:comment) do |f|
f.creator {|x| x.association(:user)}
f.post {|x| x.association(:post)}
f.body {Faker::Lorem.sentences}
f.ip_addr "127.0.0.1"
f.score 0
end