aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/new_base/content_negotiation_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Stop using deprecated `render :text` in testPrem Sichanugrist2015-07-171-1/+1
| | | | | | | | | This will silence deprecation warnings. Most of the test can be changed from `render :text` to render `:plain` or `render :body` right away. However, there are some tests that needed to be fixed by hand as they actually assert the default Content-Type returned from `render :body`.
* Consistent usage of spaces in hashes across our codebaseRafael Mendonça França2015-01-291-2/+2
|
* 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
* Use Mime::Type references.José Valim2011-02-081-0/+9
|
* Fix test to correctly handle 1.9 Array#to_s behaviorYehuda Katz2009-10-151-1/+1
|
* Redraw default routes on all internal integration tests. We don't need ↵Joshua Peek2009-10-031-1/+1
| | | | SimpleRouteCase anymore
* File extra test folders into controller, dispatch, or templateJoshua Peek2009-10-031-0/+18