Files
danbooru/test/factories/comment.rb
albert 17881068e1 * Removed Pixa/Tinami sources
* Upgraded to Rails 3.2.3
* Fixed tests
2012-06-01 19:22:58 -04:00

6 lines
111 B
Ruby

FactoryGirl.define do
factory(:comment) do |f|
post
body {Faker::Lorem.sentences.join(" ")}
end
end