aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories/blog_posts.rb
blob: 548636d08148903110ab90342ef4e1dac7fbfd8e (plain) (blame)
1
2
3
4
5
6
7
Factory.define :blog_post, :class => 'refinery/blog_post' 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.tag_list "chicago, shopping, fun times"
  f.published_at Time.now
end