aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2011-11-09 22:19:07 +1300
committerPhilip Arndt <parndt@gmail.com>2011-11-09 22:19:07 +1300
commit36c005ecd112b76d3c9c2d7092f22d6e06755d73 (patch)
tree23e37055e6c6aa79a9c5285387052acdc708ba30 /spec/factories
parentd18364d359359fa6564ad187d7303f8c167154cd (diff)
downloadrefinerycms-blog-36c005ecd112b76d3c9c2d7092f22d6e06755d73.tar.gz
refinerycms-blog-36c005ecd112b76d3c9c2d7092f22d6e06755d73.tar.bz2
refinerycms-blog-36c005ecd112b76d3c9c2d7092f22d6e06755d73.zip
Refactored everything (models, helpers) into proper namespace of Refinery::Blog. Requires refinery commit 25162b585b9c4023d39fd1a9796140bfa4ecb909
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/blog_categories.rb2
-rw-r--r--spec/factories/blog_comments.rb2
-rw-r--r--spec/factories/blog_posts.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/factories/blog_categories.rb b/spec/factories/blog_categories.rb
index 9ee4f16..82f629b 100644
--- a/spec/factories/blog_categories.rb
+++ b/spec/factories/blog_categories.rb
@@ -1,5 +1,5 @@
FactoryGirl.define do
- factory :blog_category, :class => Refinery::BlogCategory 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
index 9818c07..e0309b2 100644
--- a/spec/factories/blog_comments.rb
+++ b/spec/factories/blog_comments.rb
@@ -1,5 +1,5 @@
FactoryGirl.define do
- factory :blog_comment, :class => Refinery::BlogComment 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?"
diff --git a/spec/factories/blog_posts.rb b/spec/factories/blog_posts.rb
index b839d02..1ad2bd2 100644
--- a/spec/factories/blog_posts.rb
+++ b/spec/factories/blog_posts.rb
@@ -1,5 +1,5 @@
FactoryGirl.define do
- factory :blog_post, :class => Refinery::BlogPost 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