aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/new_base
Commit message (Collapse)AuthorAgeFilesLines
* Ensure changes to I18n locale get reset during testsJoshua Peek2009-09-191-3/+8
|
* All on one abstract_unitJoshua Peek2009-09-1916-16/+16
|
* Merge abstract_controller/test_helper and new_base/test_helper since they ↵Joshua Peek2009-09-1318-144/+29
| | | | are expected to run in the same testing sandbox
* Don't force test suite to use bundlerJoshua Peek2009-09-131-1/+3
|
* Get ActionPack's test running on bundled gems. This should make running ↵Yehuda Katz2009-09-121-4/+1
| | | | tests on new machines, as well as CI, work well.
* Add per-controller middlewareYehuda Katz2009-09-121-0/+77
|
* Test for previous commit (we wrote it first, I swear)Yehuda Katz + Carl Lerche2009-09-031-0/+18
|
* Refactor ActionView::ResolverYehuda Katz + Carl Lerche2009-09-031-1/+1
|
* ActionPack test helpers need to activate rack gemJoshua Peek2009-09-011-0/+4
|
* Create new ActionController::Middleware class that will work as a normal ↵Yehuda Katz2009-08-261-6/+5
| | | | | | Rack middleware. * This initial implementation is a bit hackish, but it uses a normal middleware API so it's future-proof when we improve the internals.
* Track all AC base subclasses as possible controllers for internal testingJoshua Peek2009-08-251-7/+17
|
* ActionController::Metal can be a middlewareYehuda Katz + Carl Lerche2009-08-251-0/+45
|
* Got tests to pass with some more changes.Yehuda Katz2009-08-154-8/+7
| | | | | | | | | | | | | | | | * request.formats is much simpler now * For XHRs or Accept headers with a single item, we use the Accept header * For other requests, we use params[:format] or fallback to HTML * This is primarily to work around the fact that browsers provide completely broken Accept headers, so we have to whitelist the few cases we can specifically isolate and treat other requests as coming from the browser * For APIs, we can support single-item Accept headers, which disambiguates from the browsers * Requests to an action that only has an XML template from the browser will no longer find the template. This worked previously because most browsers provide a catch-all */*, but this was mostly accidental behavior. If you want to serve XML, either use the :xml format in links, or explicitly specify the XML template: render "template.xml".
* Remove legacy processing and content_lengthYehuda Katz2009-08-021-3/+0
| | | | | | | | | | | * convert_content_type! is handled by assign_default_content_type_and_charset! * set_content_length! should be handled by the endpoint server. Otherwise each middleware that modifies the body has to do the expensive work of recalculating content_length. * convert_language! appears to be legacy. There are no tests for this * convert_cookies! should be handled by the new HeaderHash in Rack * Use an integer for .status's internal representation to avoid needing to do String manipulation just to find out the status
* Rename ActionView::Template::Path ActionView::ResolverYehuda Katz + Carl Lerche2009-06-1711-19/+19
|
* Fixing pending tests and fixed some formats / partial rendering semanticsYehuda Katz + Carl Lerche2009-06-171-0/+46
|
* Whoops, I guess we broke layouts ;)Yehuda Katz + Carl Lerche2009-06-152-12/+1
|
* Get the new base tests to passYehuda Katz + Carl Lerche2009-06-151-2/+1
|
* Get tests to run (with failures) without old base aroundYehuda Katz + Carl Lerche2009-06-151-173/+0
|
* ActionPack components should no longer have undeclared dependencies.Yehuda Katz + Carl Lerche2009-06-081-3/+10
| | | | | | | * Tests can be run in isolation * Dependencies added * A few tests modified to avoid depending on AS deps not depended on my files they were testing
* Slightly modify things to get content type matching working without breaking ↵Yehuda Katz2009-05-232-1/+33
| | | | other code
* Restore some missing test constantsJeremy Kemper2009-05-221-0/+8
|
* Add Translation to the new basePratik Naik2009-05-231-0/+3
|
* Add some more tests to the test_new_base_on_old_tests taskPratik Naik2009-05-231-0/+1
|
* Add all the existing helpers related features to the new basePratik Naik2009-05-232-3/+3
|
* Make assertion tests pass with the new basePratik Naik2009-05-221-1/+1
|
* Require ruby-debug from new_base/abstract_unitPratik Naik2009-05-221-0/+7
|
* Move Safari response-padding fix to Rails2Compatibility. Should be a Rack ↵Jeremy Kemper2009-05-211-3/+3
| | | | concern.
* Fixed new_base tests on ruby 1.9Yehuda Katz + Carl Lerche2009-05-201-1/+1
|
* Got controller/mime_responds_test.rb running on the new baseYehuda Katz + Carl Lerche2009-05-201-0/+3
|
* Massage setup for old tests on new baseJeremy Kemper2009-05-201-0/+141
|
* Replace the class level Rack::Test DSL with the regular integration tests DSLPratik Naik2009-05-2010-564/+477
|
* Replace ad hoc Rack::Test with ActionController::IntegrationTestPratik Naik2009-05-201-9/+7
|
* Merge Failsafe middleware into ShowExceptionsJoshua Peek2009-05-172-5/+5
|
* Instead of checking Rails.env.test? in Failsafe middleware, check ↵Bryan Helmkamp2009-05-162-5/+7
| | | | env["rails.raise_exceptions"]
* Cleaning up more render testsYehuda Katz + Carl Lerche2009-05-146-32/+103
|
* Ported over render :file tests.Yehuda Katz + Carl Lerche2009-05-133-1/+151
|
* Implemented redirects and partial rendering in new base.Yehuda Katz + Carl Lerche2009-05-121-0/+1
|
* Ported fresh_when into a ConditionalGet moduleYehuda Katz + Carl Lerche2009-05-111-0/+47
|
* Implement FooController.action(:name)Yehuda Katz2009-05-021-1/+1
| | | | | | * Rails actions are now Rack endpoints, and can be retrieved via FooController.action(name) and called with an env * Updated some tests that relied on the old internal #process/#call implementation
* Renamed Base2 to Base and don't require old action_controller for new BaseYehuda Katz + Carl Lerche2009-05-017-83/+19
|
* Starting to get new_base to run on old testsYehuda Katz + Carl Lerche2009-05-011-0/+2
|
* Committing the last changes before we start trying to get the old tests to ↵Yehuda Katz + Carl Lerche2009-05-012-6/+60
| | | | pass on the new base
* Ported over the concept of public instance methods on controller child ↵Yehuda Katz + Carl Lerche2009-05-012-5/+15
| | | | classes as callable action methods
* Move ContentType inline for now. Yehuda Katz + Carl Lerche2009-05-011-1/+0
| | | | Trying to avoid premature proliferation of modules.
* Support implicit and explicit content typesYehuda Katz + Carl Lerche2009-05-012-0/+112
|
* Support implicit render and blank renderYehuda Katz + Carl Lerche2009-05-013-16/+54
|
* Ported over render :template testsYehuda Katz + Carl Lerche2009-05-012-1/+19
|
* Finished implementing render :text in Base2Yehuda Katz + Carl Lerche2009-05-012-1/+21
|
* Renamed the new_base testsYehuda Katz + Carl Lerche2009-05-013-94/+96
|