Sha256: 324d0558fa63e06fd501045ce4a9c466d72b1dc37439e2985933db8905b9227f

Contents?: true

Size: 298 Bytes

Versions: 4

Compression:

Stored size: 298 Bytes

Contents

Factory.define(:post, :class => BlogPost) do |f|
  f.sequence(:title) { |n| "Top #{n} Shopping Centers in Chicago" }
  f.body "These are the top ten shopping centers in Chicago. You're going to read a long blog post about them. Come to peace with it."
  f.draft false
  f.published_at Time.now
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
refinerycms-blog-1.3.2 features/support/factories/blog_posts.rb
refinerycms-blog-1.3.1 features/support/factories/blog_posts.rb
refinerycms-blog-1.3 features/support/factories/blog_posts.rb
refinerycms-blog-1.2 features/support/factories/blog_posts.rb