aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/testing
Commit message (Collapse)AuthorAgeFilesLines
* open_session can just return the a dup of the current context.wycats2010-03-221-24/+3
| | | | | At this point, its entire purpose in the open_session {} case was to delegate back to the IntegrationTest anyway.
* Each controller class has it's own view context subclass. This removes the ↵Carlhuda2010-03-181-3/+4
| | | | need for ActionView::Base.for_controller
* All tests pass without memoizing view_contextCarlhuda2010-03-181-3/+2
|
* Get modules back into integration testsCarlhuda2010-03-171-0/+3
|
* Fix for missing dependency in ActionDispatch::IntegrationMathias Biilmann Christensen2010-03-171-0/+1
| | | | | | | | | | | When running cucumber features from a new rails 3 app requiring 'cucumber/rails/world' would raise: uninitialized constant ActionDispatch::Integration::Session::Test (NameError) Fixed by requiring 'test/unit/assertions' in action_dispatch/integration Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Modify assert_template to use instrumentationCarlhuda2010-03-171-52/+0
|
* Do not always include the named URL helpers into AC::Base and AV::Base.Carl Lerche2010-03-161-2/+16
|
* Integration test url options should account for :protocol not just https?Jeremy Kemper2010-03-151-8/+2
|
* No longer add missing leading / on path args to assert_redirected_to. ↵Jeremy Kemper2010-03-021-9/+14
| | | | Deprecated in 2.3.6.
* Remind us that RoutingAssertions should work in an integration contextYehuda Katz2010-02-261-0/+1
|
* If IntegrationSession is initialized with an objects that responds to ↵Carlhuda2010-02-261-7/+21
| | | | #routes, automatically extend the URL helpers from the RouteSet onto it
* Setting UrlFor in with_routing is no longer needed now that it's not globalCarlhuda2010-02-261-3/+0
|
* Remove traces of SharedTestRoutes from user code; leave it as a standin for ↵Carlhuda2010-02-261-12/+0
| | | | Rails.application.routes in Rails internal tests
* Change the API for setting global options for #url_for to self.url_options = ↵Carlhuda2010-02-261-1/+1
| | | | | | { ... } This attr_accessor can be set in a before filter or in the action itself. Overwriting default_url_options still works but will output a deprecation notice.
* Rename named_url_helpers to url_helpers and url_helpers to url_forCarlhuda2010-02-261-3/+3
|
* Rename metaclass to singleton_classCarlhuda2010-02-251-1/+1
|
* Get URL helpers working again in integration tests.Carlhuda2010-02-251-24/+24
|
* Final pass at removing the router from a global constantCarlhuda2010-02-252-3/+1
|
* WIP: Remove the global routerCarlhuda2010-02-252-17/+20
|
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-251-2/+2
|
* Use ActionDispatch::Routing everywhereMartin Schürrer2010-02-212-13/+13
|
* Fix a bunch of pending tests by providing an introspection mode for the ↵Carlhuda2010-02-191-1/+2
| | | | Response object that does up-front parsing of the headers to populate things like @etag
* AD::TestProcess relies on request.flash, so let's load it.José Valim2010-02-161-0/+2
|
* Deprecation notice for TestResponse#redirected_toJoshua Peek2010-01-301-0/+5
|
* Expose last controller in rack env["action_controller.instance"]Joshua Peek2010-01-201-32/+6
|
* Disable ShowExceptions during integration testsJoshua Peek2010-01-191-1/+3
|
* Merge docrailsPratik Naik2010-01-171-8/+8
|
* Remove CGI.escape in function of Rack::Mount.escapeJosé Valim2010-01-061-1/+1
|
* assert_template depends on AV::Template monkey patches in action_view/test_caseJoshua Peek2010-01-051-0/+9
|
* Autoload AS test caseJoshua Peek2010-01-041-1/+0
|
* MergeDavid Heinemeier Hansson2009-12-224-12/+18
|\
| * All AD modules are "deferrable"Joshua Peek2009-12-223-11/+17
| |
| * AD::StatusCodes support is now part of rackJoshua Peek2009-12-221-1/+1
| |
* | Dont encourage __FILE__ bullshitDavid Heinemeier Hansson2009-12-221-2/+2
|/
* Move route reloading into railtiesJoshua Peek2009-12-141-2/+0
|
* Allow autoloads to opt out of eager loadingJoshua Peek2009-12-121-1/+0
|
* TestProcess belongs in ADJoshua Peek2009-12-124-9/+101
|
* Kill RouteSet#recognizeJoshua Peek2009-12-101-2/+4
|
* Should fix a few Sam Ruby fails.Yehuda Katz2009-12-031-11/+13
|
* Fixed AD assertion autoloads [#3470 state:resolved]Joshua Peek2009-11-091-3/+16
|
* 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>