aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories/blog_posts.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/blog_posts.rb')
-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
new file mode 100644
index 0000000..6947e81
--- /dev/null
+++ b/spec/factories/blog_posts.rb
@@ -0,0 +1,4 @@
+Factory.define(:post, :class => BlogPost) do |f|
+ f.title "Top Ten 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."
+end \ No newline at end of file