aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/blog_categories.rb4
-rw-r--r--spec/factories/blog_comments.rb10
-rw-r--r--spec/factories/blog_posts.rb4
3 files changed, 0 insertions, 18 deletions
diff --git a/spec/factories/blog_categories.rb b/spec/factories/blog_categories.rb
deleted file mode 100644
index 590e5b5..0000000
--- a/spec/factories/blog_categories.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-Factory.define(:blog_category) do |f|
- f.title "Shopping"
- f.posts {|p| [p.association :post]}
-end \ No newline at end of file
diff --git a/spec/factories/blog_comments.rb b/spec/factories/blog_comments.rb
deleted file mode 100644
index 93beaf3..0000000
--- a/spec/factories/blog_comments.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-Factory.sequence :email do |n|
- "person#{n}@example.com"
-end
-
-Factory.define(:blog_comment) do |f|
- f.name "Joe Commenter"
- f.email { Factory.next(:email) }
- f.body "Which one is the best for picking up new shoes?"
- f.association :post
-end \ No newline at end of file
diff --git a/spec/factories/blog_posts.rb b/spec/factories/blog_posts.rb
deleted file mode 100644
index 6947e81..0000000
--- a/spec/factories/blog_posts.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-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