Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use `Mime[:foo]` instead of `Mime::Type[:FOO]` for back compat | Jeremy Daer | 2015-10-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | Rails 4.x and earlier didn't support `Mime::Type[:FOO]`, so libraries that support multiple Rails versions would've had to feature-detect whether to use `Mime::Type[:FOO]` or `Mime::FOO`. `Mime[:foo]` has been around for ages to look up registered MIME types by symbol / extension, though, so libraries and plugins can safely switch to that without breaking backward- or forward-compatibility. Note: `Mime::ALL` isn't a real MIME type and isn't registered for lookup by type or extension, so it's not available as `Mime[:all]`. We use it internally as a wildcard for `respond_to` negotiation. If you use this internal constant, continue to reference it with `Mime::ALL`. Ref. efc6dd550ee49e7e443f9d72785caa0f240def53 | ||||
* | stop calling deprecated methods | Aaron Patterson | 2015-09-21 | 1 | -1/+1 |
| | | | | | We should be asking the mime type method for the mime objects rather than via const lookup | ||||
* | Add and remove renderer inside the test to prevent leak. | Zuhao Wan | 2014-05-28 | 1 | -4/+7 |
| | |||||
* | removes support for render :update | Xavier Noria | 2011-04-13 | 1 | -237/+0 |
| | |||||
* | Initialize ivars in tests. | Emilio Tagua | 2010-09-28 | 1 | -0/+1 |
| | |||||
* | Use parentheses when using assert_match followed by a regexp to avoid warnings. | Emilio Tagua | 2010-09-27 | 1 | -3/+3 |
| | |||||
* | Simpler RenderOption API -- removes the need for registering the types and ↵ | Carlhuda | 2009-12-09 | 1 | -0/+14 |
| | | | | extending a module | ||||
* | Namespace TestControllers inside their test case class | Joshua Peek | 2009-09-19 | 1 | -123/+128 |
| | |||||
* | Get controller/render_other_test.rb to pass on new base and fixed a bug in ↵ | Yehuda Katz + Carl Lerche | 2009-05-22 | 1 | -3/+11 |
| | | | | new base with regards to rendering layouts. | ||||
* | Added the :rjs render option | Yehuda Katz + Carl Lerche | 2009-05-21 | 1 | -0/+8 |
| | |||||
* | Ported over render :file tests. | Yehuda Katz + Carl Lerche | 2009-05-13 | 1 | -0/+222 |