aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/content_type_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove some response content type concepts from ActionViewYehuda Katz + Carl Lerche2009-05-211-1/+2
|
* Support implicit and explicit content typesYehuda Katz + Carl Lerche2009-05-011-0/+10
|
* Temporarily modifies setup to call super directly. This can support more ↵Yehuda Katz and Carl Lerche2009-04-081-0/+3
| | | | T::U runners.
* Include process methods in ActionController::TestCase only. No need to ↵Jeremy Kemper2009-01-091-6/+3
| | | | alias_method_chain :process either.
* Move default content type and charset from Base to Response. Handle charset ↵Jeremy Kemper2008-08-211-0/+20
| | | | = nil.
* Update tests for request memoizationJeremy Kemper2008-08-081-4/+4
|
* Set global ActionController::Base.view_paths for test casesJoshua Peek2008-07-121-2/+0
|
* Fix teardown method name typoJeremy Kemper2008-07-091-1/+1
|
* Disable the Accept header by defaultMichael Koziarski2008-07-071-0/+14
| | | | | | | | The accept header is poorly implemented by browsers and causes strange errors when used on public sites where crawlers make requests too. You should use formatted urls (e.g. /people/1.xml) to support API clients. Alternatively to re-enable it you need to set: config.action_controller.use_accept_header = true A special case remains for ajax requests which will have a javascript format for the base resource (/people/1) if the X-Requested-With header is present. This lets ajax pages still use format.js despite there being no params[:format]
* Set precompiled fixture load path constant to speed up testsJoshua Peek2008-06-251-12/+12
|
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-051-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow Controllers to have multiple view_paths instead of a single ↵Rick Olson2007-02-041-1/+1
| | | | | | template_root. Closes #2754 [John Long] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* test default content type for implicit rjs template renderRick Olson2006-09-181-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that respond_to blocks will automatically set the content type to be ↵David Heinemeier Hansson2006-09-171-0/+31
| | | | | | the same as is requested [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added proper getters and setters for content type and charset [DHH] Added ↵David Heinemeier Hansson2006-09-171-0/+99
utf-8 as the default charset for all renders. You can change this default using ActionController::Base.default_charset=(encoding) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de