aboutsummaryrefslogtreecommitdiffstats
path: root/features/support/factories
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2011-03-11 13:21:24 -0600
committerJoe Sak <joe@joesak.com>2011-03-11 13:21:24 -0600
commitb3f95341c3b67123084563bd38f9145b8ef4da78 (patch)
tree2be1d73388f241f323d43d983f325790628e362f /features/support/factories
parentac7a6f6636912635835ff73320ded4ad1cc73746 (diff)
downloadrefinerycms-blog-b3f95341c3b67123084563bd38f9145b8ef4da78.tar.gz
refinerycms-blog-b3f95341c3b67123084563bd38f9145b8ef4da78.tar.bz2
refinerycms-blog-b3f95341c3b67123084563bd38f9145b8ef4da78.zip
More test coverage for tags: can fill tags in on admin form
Diffstat (limited to 'features/support/factories')
-rw-r--r--features/support/factories/blog_posts.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/features/support/factories/blog_posts.rb b/features/support/factories/blog_posts.rb
index 24436b8..3eecf53 100644
--- a/features/support/factories/blog_posts.rb
+++ b/features/support/factories/blog_posts.rb
@@ -2,5 +2,6 @@ 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.tag_list "chicago, shopping, fun times"
f.published_at Time.now
end