aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/render_xml_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Switch to kwargs in ActionController::TestCase and ActionDispatch::IntegrationKir Shatrov2015-01-291-2/+2
| | | | | | | | Non-kwargs requests are deprecated now. Guides are updated as well. `post url, nil, nil, { a: 'b' }` doesn't make sense. `post url, params: { y: x }, session: { a: 'b' }` would be an explicit way to do the same
* Remove default match without specified methodJose and Yehuda2012-04-241-1/+1
| | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964
* Moved all the logger methods to active support loggerKarunakar (Ruby)2012-01-061-1/+1
| | | | minor
* Removed deprecated RouteSet API, still many tests failPiotr Sarnacki2010-09-051-3/+2
|
* Fix render :xml test (ht Simo Niemelä)José Valim2010-04-241-2/+2
|
* Always downstream given options in :json, :xml and :js renderers and add ↵José Valim2010-04-221-7/+17
| | | | tests for it.
* Remove implicit controller namespacing from new dslJoshua Peek2010-02-281-1/+2
|
* Use new routing dsl in testsJoshua Peek2009-12-081-2/+2
|
* Namespace TestControllers inside their test case classJoshua Peek2009-09-191-32/+36
|
* Cleanup route reloading in tests. Prefer with_routing over using ↵Joshua Peek2009-08-161-6/+8
| | | | ActionController::Routing::Routes directly
* Add destroyed? to ActiveRecord, include tests for polymorphic urls for ↵José Valim2009-08-071-2/+2
| | | | destroyed objects and refactor mime responds tests and documentation.
* Ported over render :file tests.Yehuda Katz + Carl Lerche2009-05-131-0/+81