aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/actionpack/controller/render_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Merge pull request #16888 from jejacks0n/render_template""Godfrey Chan2014-09-261-18/+5
| | | | This reverts commit 585e75696b31395aee895e5366e331c07c3f5ee1.
* Revert "Merge pull request #16888 from jejacks0n/render_template"Godfrey Chan2014-09-231-5/+18
| | | | | | | This reverts commit 07635a74b5ee08dcba3f6617def6230d8f114fe5, reversing changes made to 1b5f61a025b6ce1ee52b7148e3ed2a9acbde28b9. Reason: it's not ready :bomb:, see https://github.com/rails/rails/pull/16888#issuecomment-56400816
* Changes default render behavior from file to template.jejacks0n2014-09-111-18/+5
|
* Added PartialIteration class used when rendering collectionsJoel Junström2014-07-161-0/+18
| | | | | | | | | | | | The iteration object is available as the local variable "template_name_iteration" when rendering partials with collections. It gives access to the +size+ of the collection beeing iterated over, the current +index+ and two convinicence methods +first?+ and +last?+ "template_name_counter" variable is kept but is deprecated. [Joel Junström + Lucas Uyezu]
* Fixed borken tests in AV caused by 013c74dGodfrey Chan2014-07-101-2/+2
|
* Ensure that .process return the method returnArthur Neves2014-05-061-1/+5
|
* Unused class in AV testAkira Matsuda2013-12-251-2/+0
|
* Prefer assert_raise instead of flunk + rescue to test for exceptionsCarlos Antonio da Silva2013-12-191-3/+3
| | | | | | Change most tests to make use of assert_raise returning the raised exception rather than relying on a combination of flunk + rescue to check for exception types/messages.
* Fix integration test to pass same-origin verificationJeremy Kemper2013-12-171-1/+1
|
* Minor typo fixesAkira Matsuda2013-11-271-1/+1
|
* Move actionpack's controller testsŁukasz Strzałkowski2013-08-251-0/+1337