aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/rescue_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* RecordInvalid, RecordNotSaved => 422 Unprocessable Entity, StaleObjectError ↵Jeremy Kemper2007-01-171-1/+3
| | | | | | => 409 Conflict. References #7097. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Wrap and skip tests using mocha.Jeremy Kemper2007-01-141-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use mocha for rescue tests.Jeremy Kemper2007-01-131-16/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5916 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use 400 Bad Request status for unrescued ActiveRecord::RecordInvalid exceptions.Jeremy Kemper2006-12-221-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5771 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Unrescued ActiveRecord::RecordNotFound responds with 404 instead of 500.Jeremy Kemper2006-12-081-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5706 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* test controller rescuesJeremy Kemper2006-11-131-0/+212
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de