aboutsummaryrefslogtreecommitdiffstats
path: root/features/support/factories/blog_posts.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/support/factories/blog_posts.rb')
-rw-r--r--features/support/factories/blog_posts.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/features/support/factories/blog_posts.rb b/features/support/factories/blog_posts.rb
index 3eecf53..33f6b93 100644
--- a/features/support/factories/blog_posts.rb
+++ b/features/support/factories/blog_posts.rb
@@ -1,3 +1,5 @@
+require 'factory_girl'
+
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."