aboutsummaryrefslogtreecommitdiffstats
path: root/spec/requests
Commit message (Collapse)AuthorAgeFilesLines
* 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-037-202/+332
| | | | | | | | | | | | | | | 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
* Converted Factory to FactoryGirl to fix deprecation warnings.Philip Arndt2011-09-033-4/+4
|
* Replace cucumber tag features with rspec request testsJamie Winsor2011-08-042-0/+40
| | | | Remove cucumber support from project
* Replace category.features with capybara rspec requestsJamie Winsor2011-08-042-82/+108
| | | | Update FactoryGirl factory definition syntax
* Replace authors.feature with capybara rspec testsJamie Winsor2011-08-041-4/+16
|
* Add request and controller authentication macros to rspec configJamie Winsor2011-08-043-12/+4
| | | | refactor request specs to take advantage of authentication macros
* refactor engine testing scenarioJamie Winsor2011-08-033-20/+25
| | | | | | | | Engine is now tested standalone by leveraging a dummy rails app Enable Guard for speedy testing Move factories to the more standard location `spec/factories/*` Update README with a Testing section Rename migrations to contain datetimestamps for their version to fix migration order issues when migrating the dummy application
* Make those specs green again.Uģis Ozols2011-08-033-20/+3
|
* DB isn't cleared from previous test data. For now clear it ourselves but as ↵Uģis Ozols2011-07-292-2/+10
| | | | feature todo - fix it.
* Need a user first because otherwise it will redirect to first user creation ↵Uģis Ozols2011-07-292-2/+6
| | | | form.
* Manage blog posts request specs are now green.Uģis Ozols2011-07-291-6/+1
|
* Update translation scopesJamie Winsor2011-07-282-0/+39
| | | | | | Update url helpers in public views Various uninitialized constant fixes for public views & controllers Add some request specs to test what was fixed in this commit
* More request specs and updates to code to make specs pass.Uģis Ozols2011-07-281-5/+32
|
* Start to add request specs.Uģis Ozols2011-07-281-0/+71