diff options
author | Jamie Winsor <jamie@enmasse.com> | 2011-09-04 03:20:51 -0700 |
---|---|---|
committer | Jamie Winsor <jamie@enmasse.com> | 2011-09-04 14:35:03 -0700 |
commit | 7903bdfed26f085f6d07d104ac458bc4319b1e32 (patch) | |
tree | fd950e2c1d1d234e0e6a590d24296a4a396798a3 /spec/support/factories/blog_posts.rb | |
parent | 40be4f71ee425ee55ecedea96ff2b0dc510d71db (diff) | |
download | refinerycms-blog-7903bdfed26f085f6d07d104ac458bc4319b1e32.tar.gz refinerycms-blog-7903bdfed26f085f6d07d104ac458bc4319b1e32.tar.bz2 refinerycms-blog-7903bdfed26f085f6d07d104ac458bc4319b1e32.zip |
refactor factories and add #show tests for posts controller
Do not want to cache classes, but do want to reload models after factory girl:
http://groups.google.com/group/factory_girl/browse_thread/thread/daa24556d90c31fc
http://stackoverflow.com/questions/5145165/associationtypemismatch-and-factorygirl
rails_autolink was removed from Rails 3.1 and abstracted to an external gem
fix display author name and post time on comment show
fix namespace for thanking and moderated flash notices
Diffstat (limited to 'spec/support/factories/blog_posts.rb')
-rw-r--r-- | spec/support/factories/blog_posts.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/support/factories/blog_posts.rb b/spec/support/factories/blog_posts.rb deleted file mode 100644 index 4586b36..0000000 --- a/spec/support/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 |