aboutsummaryrefslogtreecommitdiffstats
path: root/spec/requests/refinery/blog/posts_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add temp fix for one failing spec.Uģis Ozols2012-11-151-3/+6
|
* Fix one of the broken specs (404 message is different).Uģis Ozols2012-10-041-1/+1
|
* fix failing specJustin Ramos2012-08-131-1/+1
|
* Fix failing specs.Uģis Ozols2012-06-151-1/+5
|
* Added i18n support to models through globalize3.Adrien Coquio2012-06-091-31/+49
| | | | | | | | | | | | | | * Added Post translation * Added Category translation * Use friendly_id globalize with category * Added migrate_data option on migrations for translations * Use Refinery locale instead of I18n * Refactored duplicate locale_picker partial * Removed useless .all call * Use presence instead if / blank? * Added with_globalize scopes when loading posts of one category * Use Globalize when creating post factory * Fix failing specs by creating blog posts/categories using needed locale.
* Use 'refinery_login_with :refinery_user' instead of deprecated ↵Uģis Ozols2012-05-151-2/+2
| | | | 'login_refinery_user' in request specs.
* add popularity counter to blog posts as well as accessor for recent postsJeff Shumate2012-02-221-1/+35
|
* Added support for new code in Refinery CMS since resolve/refinerycms#1234Philip Arndt2012-02-011-11/+11
|
* Fix comment posting.Pete Higgins2012-01-241-0/+24
|
* Fixed namespacing for Refinery conventions.Philip Arndt2012-01-171-18/+11
|
* Refactored everything (models, helpers) into proper namespace of ↵Philip Arndt2011-11-091-2/+2
| | | | Refinery::Blog. Requires refinery commit 25162b585b9c4023d39fd1a9796140bfa4ecb909
* Fix draft preview of blog postsJamie Winsor2011-09-211-0/+22
|
* use let instead of let! when we can lazily load these fixturesJamie Winsor2011-09-041-4/+4
|
* refactor factories and add #show tests for posts controllerJamie Winsor2011-09-041-7/+54
| | | | | | | | | | | 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
* index action of blog post controller now caches and sweeps on changesJamie Winsor2011-09-031-0/+40
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