Sha256: ef1bebc8eab74dc740a86b741bd211281f55484a6f386c4f59884c91d622fb07

Contents?: true

Size: 225 Bytes

Versions: 6

Compression:

Stored size: 225 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
refinerycms-blog-1.6.1 features/support/factories/blog_comments.rb
refinerycms-blog-1.6.0 features/support/factories/blog_comments.rb
refinerycms-blog-1.5.2 features/support/factories/blog_comments.rb
refinerycms-blog-1.5.1 features/support/factories/blog_comments.rb
refinerycms-blog-1.5.0 features/support/factories/blog_comments.rb
refinerycms-blog-1.4.0 features/support/factories/blog_comments.rb