Commit graph

10 commits

Author SHA1 Message Date
Uģis Ozols
6fa5bbdf33 Use 'refinery_login_with :refinery_user' instead of deprecated 'login_refinery_user' in request specs. 2012-05-15 08:22:56 +03:00
Jeff Shumate
4f0b5f8223 add popularity counter to blog posts as well as accessor for recent posts 2012-02-22 20:37:08 -07:00
Philip Arndt
33bfa4dd23 Added support for new code in Refinery CMS since resolve/refinerycms#1234 2012-02-01 16:34:06 +13:00
Pete Higgins
3abf537eaa Fix comment posting. 2012-01-24 14:42:54 -08:00
Philip Arndt
b1e4fd0094 Fixed namespacing for Refinery conventions. 2012-01-17 16:56:24 +13:00
Philip Arndt
36c005ecd1 Refactored everything (models, helpers) into proper namespace of Refinery::Blog. Requires refinery commit 25162b585b9c4023d39fd1a9796140bfa4ecb909 2011-11-09 22:19:07 +13:00
Jamie Winsor
5e91670a80 Fix draft preview of blog posts 2011-09-21 00:56:54 -07:00
Jamie Winsor
b9c44d851e use let instead of let! when we can lazily load these fixtures 2011-09-04 15:10:00 -07:00
Jamie Winsor
7903bdfed2 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
2011-09-04 14:35:03 -07:00
Jamie Winsor
6212e60f9e index action of blog post controller now caches and sweeps on changes
fix various views which were broken and untested with rails-3-1 upgrade
add request spec tests for admin blog comments
Factory is now FactoryGirl
Fix multiple issues around listing unmoderated comments
use cleaner definitions to set per_page willpaginate attribute on models
update all paginate calls to use new arel representation
reorganize filter sections to be located at top of controller
modify uncategorized class method to activerecord scope and perform a left outer join instead of iterate through an array to find uncategorized posts
move request specs into their proper places
update guardfile to ensure that request specs get run when their respective controllers are modified
Fix show action for AdminBlogComments and added test
Fix redirection link after approving or rejecting a comment
2011-09-03 21:55:30 -07:00