blob: af364beb7db693d7e29b5d7f2d696a92243b547f (
plain) (
blame)
1
2
3
4
5
6
7
8
|
require 'factory_girl'
Factory.define(:blog_comment) do |f|
f.name "Joe Commenter"
f.sequence(:email) { |n| "person#{n}@example.com" }
f.body "Which one is the best for picking up new shoes?"
f.association :post
end
|