aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/factories/blog_comments.rb
blob: 0bb52060fa83b0ab775bd9890686e7fa0ba55780 (plain) (blame)
1
2
3
4
5
6
7
8
FactoryGirl.define do
  factory :blog_comment, :class => 'refinery/blog_comment' do
    name "Joe Commenter"
    sequence(:email) { |n| "person#{n}@example.com" }
    body "Which one is the best for picking up new shoes?"
    association :post, :factory => :blog_post
  end
end