Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Take care not to mix in public methods | Jeremy Kemper | 2009-01-07 | 1 | -9/+10 |
| | |||||
* | Include process methods in ActionController::TestCase only. No need to ↵ | Jeremy Kemper | 2009-01-07 | 1 | -0/+3 |
| | | | | alias_method_chain :process either. | ||||
* | Switch to Rack::Response#set_cookie instead of using CGI::Cookie to build ↵ | Joshua Peek | 2008-12-20 | 1 | -4/+1 |
| | | | | cookie headers | ||||
* | Ensure integration test is load in script/console [#1452 state:resolved] | Joshua Peek | 2008-11-24 | 1 | -1/+0 |
| | |||||
* | Move controller assertions from base TestCase to AC:: and AV::TestCase | Jeremy Kemper | 2008-11-07 | 1 | -31/+26 |
| | |||||
* | Remove controller assertions from Test::Unit::TestCase. Use ↵ | Jeremy Kemper | 2008-11-07 | 1 | -1/+58 |
| | | | | ActionController::TestCase. | ||||
* | Make sure named routes with parameters can be used in tests before a request ↵ | Eloy Duran | 2008-10-13 | 1 | -0/+3 |
| | | | | | | has been done. [#1208 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure rescue_from handlers are respected inside tests. [#835 state:resolved] | Pratik Naik | 2008-10-04 | 1 | -1/+1 |
| | | | | | | Note : If you're not using rescue_from, you should overrider rescue_action_without_handler() method and not rescue_action(). Afterwards, you can set request.remote_addr to a non "0.0.0.0" value for testing the overridden behavior. | ||||
* | Merge docrails changes | Pratik Naik | 2008-07-28 | 1 | -12/+50 |
| | |||||
* | Merge with docrails. | Pratik Naik | 2008-07-16 | 1 | -0/+23 |
| | |||||
* | Added ActionController::TestCase#rescue_action_in_public! to control whether ↵ | David Heinemeier Hansson | 2008-04-27 | 1 | -2/+21 |
| | | | | the action under test should use the regular rescue_action path instead of simply raising the exception inline (great for error testing) [DHH] | ||||
* | Allow using named routes in ActionController::TestCase before any request ↵ | Pratik Naik | 2008-03-08 | 1 | -2/+2 |
| | | | | | | has been made. Closes #11273 [alloy] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8992 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Make the non inferrable controller message a little friendlier. [Koz] | Michael Koziarski | 2008-01-30 | 1 | -1/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | * Continue evolution toward ActiveSupport::TestCase and friends. #10679 ↵ | Jeremy Kemper | 2008-01-05 | 1 | -20/+12 |
| | | | | | | | | | [Josh Peek] * TestCase: introduce declared setup and teardown callbacks. Pass a list of methods and an optional block to call before setup or after teardown. Setup callbacks are run in the order declared; teardown callbacks are run in reverse. [Jeremy Kemper] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ensure that test case setup is run even if overridden. Closes #10382. | Jeremy Kemper | 2007-12-28 | 1 | -3/+16 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | When a NonInferrableControllerError is raised, make the proposed fix clearer ↵ | Marcel Molina | 2007-12-05 | 1 | -1/+1 |
| | | | | | | in the error message. Closes #10199 [danger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8283 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Introduce TestCase subclasses for testing rails applications allowing tests ↵ | Michael Koziarski | 2007-10-26 | 1 | -0/+53 |
to be DRY'd up a bit and to provide a path toward tidying up our monkeypatching of test/unit. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |