aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/new_base/render_layout_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* File extra test folders into controller, dispatch, or templateJoshua Peek2009-10-031-101/+0
|
* All on one abstract_unitJoshua Peek2009-09-191-1/+1
|
* Merge abstract_controller/test_helper and new_base/test_helper since they ↵Joshua Peek2009-09-131-2/+2
| | | | are expected to run in the same testing sandbox
* Got tests to pass with some more changes.Yehuda Katz2009-08-151-1/+1
| | | | | | | | | | | | | | | | * 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".
* Rename ActionView::Template::Path ActionView::ResolverYehuda Katz + Carl Lerche2009-06-171-3/+3
|
* Slightly modify things to get content type matching working without breaking ↵Yehuda Katz2009-05-231-0/+32
| | | | other code
* Replace the class level Rack::Test DSL with the regular integration tests DSLPratik Naik2009-05-201-34/+30
|
* Cleaning up more render testsYehuda Katz + Carl Lerche2009-05-141-2/+0
|
* Ported over render :file tests.Yehuda Katz + Carl Lerche2009-05-131-1/+17
|
* Committing the last changes before we start trying to get the old tests to ↵Yehuda Katz + Carl Lerche2009-05-011-2/+16
| | | | pass on the new base
* OMG, a lot of workYehuda Katz + Carl Lerche2009-05-011-2/+2
|
* Get Base2 layouts to work :)Yehuda Katz and Carl Lerche2009-04-071-0/+45
|
* Adding render :layout testsCarl Lerche2009-03-231-0/+0