Sha256: efde8dc11aaed9e3d30194efa7a305b819e5ee75521b4c454ea8432ad5676f7a

Contents?: true

Size: 244 Bytes

Versions: 8

Compression:

Stored size: 244 Bytes

Contents

Factory.sequence :email do |n|
  "person#{n}@example.com"
end

Factory.define(:blog_comment) do |f|
  f.name "Joe Commenter"
  f.email { Factory.next(:email) }
  f.body "Which one is the best for picking up new shoes?"
  f.association :post
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
refinerycms-blog-1.0.rc16 spec/factories/blog_comments.rb
refinerycms-blog-1.0.rc15 spec/factories/blog_comments.rb
refinerycms-blog-1.0.rc14 spec/factories/blog_comments.rb
refinerycms-blog-1.0.rc13 spec/factories/blog_comments.rb
refinerycms-blog-1.0.rc11 spec/factories/blog_comments.rb
refinerycms-blog-1.0.rc10 spec/factories/blog_comments.rb
refinerycms-blog-0.9.8.0.rc2 spec/factories/blog_comments.rb
refinerycms-blog-0.9.8.0.rc1 spec/factories/blog_comments.rb