aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/new_base/render_rjs_test.rb
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-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-4/+3
| | | | | | | | | | | | | | | | * 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-1/+1
|
* Fixing pending tests and fixed some formats / partial rendering semanticsYehuda Katz + Carl Lerche2009-06-171-0/+46