aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Refactored everything (models, helpers) into proper namespace of ↵Philip Arndt2011-11-0912-314/+313
| | | | Refinery::Blog. Requires refinery commit 25162b585b9c4023d39fd1a9796140bfa4ecb909
* No need to explicitly call load_factories for Refinery::TestingJamie Winsor2011-10-281-2/+0
|
* Remove dummy application for testingJamie Winsor2011-10-2668-1770/+0
|
* Load refinerycms factories properlyJamie Winsor2011-10-102-24/+14
| | | | Expose blog factories to other gems
* Fix draft preview of blog postsJamie Winsor2011-09-212-0/+26
|
* use let instead of let! when we can lazily load these fixturesJamie Winsor2011-09-041-4/+4
|
* accidentally had left perform_caching set to trueJamie Winsor2011-09-041-1/+1
|
* refactor factories and add #show tests for posts controllerJamie Winsor2011-09-048-28/+95
| | | | | | | | | | | 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-038-203/+333
| | | | | | | | | | | | | | | 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-037-40/+39
|
* remove accidental inclusion of future featureJamie Winsor2011-09-021-2/+0
|
* update and import refinerycms migrations and seedsJamie Winsor2011-09-0210-29/+51
| | | | update Guardfile, spec_helper, and support files to match those generated by refinerycms-testing
* Added sqlite3, pg, mysql2 to the Gemfile and added Jamie to the ↵Philip Arndt2011-09-021-0/+1
| | | | notifications list for TRavis.
* Syntax fixes for Ruby 1.8.7Jamie Winsor2011-08-143-3/+8
|
* Move factories under spec dir so that they get picked up by spec_helper.Uģis Ozols2011-08-133-0/+0
|
* Remove spork as a development dependencyJamie Winsor2011-08-112-6/+18
| | | | | Add spork to development & test group in Gemfile Fix ControllerMacros and RequestMacros namespace in refinery support file
* Dummy app is no longer a submodule, now part of the projected - generated by ↵Jamie Winsor2011-08-1072-23/+1776
| | | | | | testing generator Remove remaining traces of cucumber
* Add Rails3.1 assets gemfile entry into Gemfile (required to start Rails ↵Jamie Winsor2011-08-061-0/+0
| | | | | | dummy app) Bump dummy app head
* 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-045-95/+127
| | | | 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-044-12/+6
| | | | refactor request specs to take advantage of authentication macros
* Remove shared functionality that now exists in refinerycms-testing engineJamie Winsor2011-08-042-29/+4
|
* Add rake tasks to initialize the testing environmentJamie Winsor2011-08-031-0/+0
| | | | Update README to reflect new functionality
* refactor dummy application into git submoduleJamie Winsor2011-08-0364-1583/+0
|
* rename default database for mysql and postgres example databasesJamie Winsor2011-08-032-6/+6
|
* Rid this project of autotestJamie Winsor2011-08-032-19/+0
|
* refactor engine testing scenarioJamie Winsor2011-08-0375-22/+1706
| | | | | | | | 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-039-23/+19
|
* 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
|
* Rails 3.1 - wip.Uģis Ozols2011-07-276-279/+285
|
* Spec context is about false.Uģis Ozols2011-07-041-1/+1
|
* Copy / Paste mistake fixedJohan Bruning2011-07-041-1/+1
|
* Added ability to disable teaser independent of teaser lengthJohan Bruning2011-07-041-0/+24
| | | | | | I prefer full length articles at all times on blogs and don't like teasers. I added the ability for people to disable teasers so full articles will be shown by default. The teasers can e enabled just like comments from the admin page or trough the normal settings. However not sure if the post partial now is conform standards. Maybe the helper method "blog_post_teaser" could encapsulate the check which is now done in the view and return the full length article instead of a teaser if the teasers are disabled.
* Refactored the spec suite to be consistent.Philip Arndt2011-06-293-43/+43
|
* fixed ruby 1.9.2 warnings about useless use of == in boid contextIvan Storck2011-06-231-3/+3
|
* this needs html_safeJoe Sak2011-06-231-0/+6
|
* Model spec filenames should be singularMarc Remolt2011-05-093-0/+0
|
* Fixes for blog_post specsMarc Remolt2011-05-091-61/+73
| | | | | * spec "returns all posts from specified month" failed on the second day of a month * refactorings and cleanups (while I'm at it)
* tests were failing all over the placeJoe Sak2011-04-222-52/+44
|
* More test coverage for tags: can fill tags in on admin formJoe Sak2011-03-111-2/+3
|
* Acts as taggable installedJoe Sak2011-03-111-0/+6
|
* test fixingJoe Sak2011-03-081-15/+15
|
* Hi, my name is...Philip Arndt2011-03-021-1/+1
|
* WIP- just stuck on the uninitialized Constant weirdnessJoe Sak2011-02-241-1/+1
|