diff options
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/blog_posts.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/blog_posts.rb b/spec/factories/blog_posts.rb index eebad3c..ff4cf16 100644 --- a/spec/factories/blog_posts.rb +++ b/spec/factories/blog_posts.rb @@ -5,8 +5,8 @@ FactoryGirl.define do draft false tag_list "chicago, shopping, fun times" published_at Time.now - author { Factory(:refinery_user) } - + author { FactoryGirl.create(:refinery_user) } + factory :blog_post_draft do draft true end |