diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-08-03 13:54:07 +0300 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-08-03 13:54:07 +0300 |
commit | fddcebd878a03f579bb3c1a3265fa9cc9ef427c0 (patch) | |
tree | 1f4a20daf9e6251aad23223da70aa3aea70ce66d /features | |
parent | 476ad3f15810455fd40cc8374af1a253471b296c (diff) | |
download | refinerycms-blog-fddcebd878a03f579bb3c1a3265fa9cc9ef427c0.tar.gz refinerycms-blog-fddcebd878a03f579bb3c1a3265fa9cc9ef427c0.tar.bz2 refinerycms-blog-fddcebd878a03f579bb3c1a3265fa9cc9ef427c0.zip |
Make those specs green again.
Diffstat (limited to 'features')
-rw-r--r-- | features/support/factories/blog_categories.rb | 5 | ||||
-rw-r--r-- | features/support/factories/blog_comments.rb | 8 | ||||
-rw-r--r-- | features/support/factories/blog_posts.rb | 9 |
3 files changed, 0 insertions, 22 deletions
diff --git a/features/support/factories/blog_categories.rb b/features/support/factories/blog_categories.rb deleted file mode 100644 index 9b98d91..0000000 --- a/features/support/factories/blog_categories.rb +++ /dev/null @@ -1,5 +0,0 @@ -require 'factory_girl' - -Factory.define :blog_category, :class => 'refinery/blog_category' do |f| - f.sequence(:title) { |n| "Shopping #{n}" } -end diff --git a/features/support/factories/blog_comments.rb b/features/support/factories/blog_comments.rb deleted file mode 100644 index 1c05190..0000000 --- a/features/support/factories/blog_comments.rb +++ /dev/null @@ -1,8 +0,0 @@ -require 'factory_girl' - -Factory.define :blog_comment, :class => 'refinery/blog_comment' do |f| - f.name "Joe Commenter" - f.sequence(:email) { |n| "person#{n}@example.com" } - f.body "Which one is the best for picking up new shoes?" - f.association :post, :factory => :blog_post -end diff --git a/features/support/factories/blog_posts.rb b/features/support/factories/blog_posts.rb deleted file mode 100644 index b5996a5..0000000 --- a/features/support/factories/blog_posts.rb +++ /dev/null @@ -1,9 +0,0 @@ -require 'factory_girl' - -Factory.define :blog_post, :class => 'refinery/blog_post' 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." - f.draft false - f.tag_list "chicago, shopping, fun times" - f.published_at Time.now -end |