aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/assertions/response_assertions.rb
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize ActionController folder structureJoshua Peek2009-01-271-150/+0
|
* Add :partial option to assert_template [#1550 state:resolved]mark2008-12-111-13/+43
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Autoload HTML::Document and sanitizersJeremy Kemper2008-11-231-3/+0
|
* Make assert_template failure message more friendlyJeffrey Hardy2008-08-051-2/+2
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Small tweak to e0fef66Joshua Peek2008-07-131-3/+3
|
* Made ActionView::Base#first_render a little more private. And added ↵Joshua Peek2008-07-131-2/+2
| | | | _last_render to track the most recent render. Will fix #609 as a side effect. [#609 state:resolved]
* Refactor template preloading. New abstractions include Renderable mixins and ↵Joshua Peek2008-07-121-1/+1
| | | | a refactored Template class.
* Restore support for partial matches in assert_redirected_toMichael Koziarski2008-07-121-2/+9
| | | | If both the actual redirection and the asserted redirection are hashes, succeed if the asserted redirection is a strict subset of the actual redirection.
* Simplify the implementation of assert_redirected_to to normalise the urls ↵Michael Koziarski2008-07-041-76/+20
| | | | | | before comparing. Also allows for a simpler implementation of redirect_to without most of the recursion. Also allows for assert_redirected_to @some_record
* Fix assert_redirected_to for nested controllers and named routesGabe da Silveira2008-06-041-1/+1
| | | | | | [#308 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com>
* assert_response, don't cry if @exception isn't available in the templateJeremy Kemper2008-03-181-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9059 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_response failures include the exception message. Closes #10688.Jeremy Kemper2008-01-051-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8559 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add many examples to assertion documentation. Closes #7803 [jeremymcanally]Marcel Molina2007-12-051-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add examples in the documentation for various assertions. Closes #9938 [zapnap]Marcel Molina2007-12-051-3/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8284 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Standardize on using hyphens rather than colons to separate option names ↵Marcel Molina2007-11-061-4/+4
| | | | | | from their explanation in documentation. Replace + with tt tags. Closes #8732. [ryanb] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve the error message for assert_redirected_to. Closes #7337 [mikong, ↵Jeremy Kemper2007-10-161-3/+2
| | | | | | sandofsky] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix url_for, redirect_to, etc. with :controller => :symbol instead of ↵Jeremy Kemper2007-10-071-1/+2
| | | | | | 'string'. Closes #8562, #9525. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7776 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Roll back #7578, tests failedDavid Heinemeier Hansson2007-09-221-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve the error message for assert_redirected_to (closes #7337) [sandofsky]David Heinemeier Hansson2007-09-221-3/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7578 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Random hits from the style naziDavid Heinemeier Hansson2007-09-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7437 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* documentation project patches, closes #7342, #7319, #7316, #7190 ↵Rick Olson2007-03-271-0/+2
| | | | | | [jeremymcanally] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use a consistent load path to avoid double requires. Fix some scattered Ruby ↵Jeremy Kemper2007-01-281-1/+1
| | | | | | warnings. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix assert_redirected_to bug where redirecting from a nested to to a ↵Rick Olson2006-12-251-2/+2
| | | | | | top-level controller incorrectly added the current controller's nesting. Closes #6128. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5785 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_response supports symbolic status codes. Closes #6569.Jeremy Kemper2006-11-071-11/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5466 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved in deprecated assertions and remove duplicated requiresDavid Heinemeier Hansson2006-09-031-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4935 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Follow proper naming conventionsDavid Heinemeier Hansson2006-09-031-0/+137
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de