aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories/blog_posts.rb
blob: 4586b36759a12eb8122bbe8917d4f5cc117bd184 (plain) (blame)
1
2
3
4
5
6
7
8
9
FactoryGirl.define do
  factory :blog_post, :class => 'refinery/blog_post' do
    sequence(:title) { |n| "Top #{n} Shopping Centers in Chicago" }
    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."
    draft false
    tag_list "chicago, shopping, fun times"
    published_at Time.now
  end
end