aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/testing
Commit message (Collapse)AuthorAgeFilesLines
* Use Rails.application where we want a valid rack appJoshua Peek2009-10-161-1/+1
|
* Make IntegrationTest::Runner propagate method_missing to ancestors.George Ogata2009-10-151-2/+6
| | | | | | | Fixes RSpec integration example groups, which mixes its Matchers module into ActiveSupport::TestCase. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Initialize a new instance of Rails.application during integration testsCarl Lerche2009-09-301-1/+1
| | | This is to fix the AWDWR tests until the application object is refactored to be a singleton.
* Move middleware and route configuration from AC::Dispatcher to Rails ↵Joshua Peek2009-09-261-2/+3
| | | | application object
* Allow setting a default application for all integration testsJoshua Peek2009-09-261-2/+20
|
* Allow integration test rack app to be set with "@app" ivar instead of using ↵Joshua Peek2009-09-261-2/+3
| | | | open_session
* Fix generic url rewriter in integration testsJoshua Peek2009-09-251-1/+1
|
* SessionRestoreError belongs in ADJoshua Peek2009-09-231-2/+2
|
* Move integration test runner into ActionDispatchJoshua Peek2009-09-232-0/+495
|
* Add :redirect to the testable RJS statements [#2612 state:resolved]Jon Wood2009-08-091-3/+10
| | | | | | | Example : assert_select_rjs :redirect, root_path Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Depend on Hash#diff extensionJeremy Kemper2009-05-301-0/+2
|
* Extract ActionController rescue templates into Rescue and ShowExceptions ↵Joshua Peek2009-05-021-7/+1
| | | | | middleware. This commit breaks all exception catching plugins like ExceptionNotifier. These plugins should be rewritten as middleware instead overriding Controller#rescue_action_in_public.
* Switch functional tests to run through the rack interface instead of processJoshua Peek2009-05-021-0/+5
|
* Functional test runner finalizes response just like the integration test ↵Joshua Peek2009-05-021-12/+6
| | | | | runner. In both runners, the @response object will now behave the same. Some functional tests will need to be updated if they are relying on preprocessed data on the response.
* Deprecate assert_redirect_to's partial hash matchingJoshua Peek2009-05-022-7/+8
|
* Move TestRequest#query_parameters into AD TestRequestJoshua Peek2009-04-301-0/+4
|
* Move TestRequest cookies accessor into AD TestRequestJoshua Peek2009-04-301-3/+21
|
* Start moving TestRequest and TestResponse into ActionDispatchJoshua Peek2009-04-302-0/+187
|
* Move generic assertions into ActionDispatchJoshua Peek2009-04-307-0/+1115