aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories
diff options
context:
space:
mode:
authorJamie Winsor <jamie@enmasse.com>2011-09-21 00:56:54 -0700
committerJamie Winsor <jamie@enmasse.com>2011-09-21 00:56:54 -0700
commit5e91670a80f3f4ed50f54d3d8fdf2709d981e9c8 (patch)
tree546558d17f3538967a8c6954a450f65bfbcb7824 /spec/factories
parentdf0664b1420f03d8cdd3f7b6960a0e542a7eb374 (diff)
downloadrefinerycms-blog-5e91670a80f3f4ed50f54d3d8fdf2709d981e9c8.tar.gz
refinerycms-blog-5e91670a80f3f4ed50f54d3d8fdf2709d981e9c8.tar.bz2
refinerycms-blog-5e91670a80f3f4ed50f54d3d8fdf2709d981e9c8.zip
Fix draft preview of blog posts
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/blog_posts.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/blog_posts.rb b/spec/factories/blog_posts.rb
index 0b8b888..b839d02 100644
--- a/spec/factories/blog_posts.rb
+++ b/spec/factories/blog_posts.rb
@@ -5,5 +5,9 @@ FactoryGirl.define do
draft false
tag_list "chicago, shopping, fun times"
published_at Time.now
+
+ factory :blog_post_draft do
+ draft true
+ end
end
end