creddit/spec/factories/comment_factory.rb

8 lines
111 B
Ruby
Raw Permalink Normal View History

2015-07-16 11:57:27 -04:00
FactoryGirl.define do
factory :comment do
user
post
content { Faker::Lorem.paragraph }
end
end