aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2011-08-13 21:57:43 +0300
committerUģis Ozols <ugis.ozolss@gmail.com>2011-08-13 21:57:43 +0300
commitdbb02d953f55ed2171d778617c14affcd17bcfe9 (patch)
tree1211a3f5bfba1f430cb6854ad325e065a3b28233 /spec/factories
parentd0d5d9eb7d4d0c0af50388c92cd30384937836a7 (diff)
downloadrefinerycms-blog-dbb02d953f55ed2171d778617c14affcd17bcfe9.tar.gz
refinerycms-blog-dbb02d953f55ed2171d778617c14affcd17bcfe9.tar.bz2
refinerycms-blog-dbb02d953f55ed2171d778617c14affcd17bcfe9.zip
Move factories under spec dir so that they get picked up by spec_helper.
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/blog_categories.rb5
-rw-r--r--spec/factories/blog_comments.rb8
-rw-r--r--spec/factories/blog_posts.rb9
3 files changed, 0 insertions, 22 deletions
diff --git a/spec/factories/blog_categories.rb b/spec/factories/blog_categories.rb
deleted file mode 100644
index 31ec28b..0000000
--- a/spec/factories/blog_categories.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-FactoryGirl.define do
- factory :blog_category, :class => 'refinery/blog_category' do
- sequence(:title) { |n| "Shopping #{n}" }
- end
-end
diff --git a/spec/factories/blog_comments.rb b/spec/factories/blog_comments.rb
deleted file mode 100644
index 0bb5206..0000000
--- a/spec/factories/blog_comments.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-FactoryGirl.define do
- factory :blog_comment, :class => 'refinery/blog_comment' do
- name "Joe Commenter"
- sequence(:email) { |n| "person#{n}@example.com" }
- body "Which one is the best for picking up new shoes?"
- association :post, :factory => :blog_post
- end
-end
diff --git a/spec/factories/blog_posts.rb b/spec/factories/blog_posts.rb
deleted file mode 100644
index 4586b36..0000000
--- a/spec/factories/blog_posts.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-FactoryGirl.define do
- factory :blog_post, :class => 'refinery/blog_post' do
- sequence(:title) { |n| "Top #{n} Shopping Centers in Chicago" }
- 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."
- draft false
- tag_list "chicago, shopping, fun times"
- published_at Time.now
- end
-end