Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge abstract_controller/test_helper and new_base/test_helper since they ↵ | Joshua Peek | 2009-09-13 | 1 | -2/+2 |
| | | | | are expected to run in the same testing sandbox | ||||
* | Got tests to pass with some more changes. | Yehuda Katz | 2009-08-15 | 1 | -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::Resolver | Yehuda Katz + Carl Lerche | 2009-06-17 | 1 | -3/+3 |
| | |||||
* | Replace the class level Rack::Test DSL with the regular integration tests DSL | Pratik Naik | 2009-05-20 | 1 | -44/+43 |
| | |||||
* | Cleaning up more render tests | Yehuda Katz + Carl Lerche | 2009-05-14 | 1 | -28/+48 |
| | |||||
* | Renamed Base2 to Base and don't require old action_controller for new Base | Yehuda Katz + Carl Lerche | 2009-05-01 | 1 | -2/+2 |
| | |||||
* | Ported over render :template tests | Yehuda Katz + Carl Lerche | 2009-05-01 | 1 | -1/+14 |
| | |||||
* | Renamed the new_base tests | Yehuda Katz + Carl Lerche | 2009-05-01 | 1 | -39/+37 |
| | |||||
* | OMG, a lot of work | Yehuda Katz + Carl Lerche | 2009-05-01 | 1 | -16/+23 |
| | |||||
* | Get Base2 layouts to work :) | Yehuda Katz and Carl Lerche | 2009-04-07 | 1 | -2/+2 |
| | |||||
* | Finished implementing :layout for most of the render options | Carl Lerche | 2009-03-23 | 1 | -7/+84 |
| | |||||
* | Started implementing render :action | Yehuda Katz | 2009-03-19 | 1 | -0/+56 |