1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/test/fixtures/actionpack
John Hawthorn f35631d466 Prefer render template: in tests
Many tests were using `render file:`, but were only testing the
behaviour of `render template:` (file: just allows more paths/ is less
secure then template:).

The reason for so many `render file:` is probably that they were the old
default.

This commit replaces `render file:` with `render template:` anywhere the
test wasn't specifically interested in using `render file:`.
2019-03-21 13:44:56 -07:00
..
bad_customers Move render_test to AV 2013-08-25 11:39:13 +02:00
customers Move render_test to AV 2013-08-25 11:39:13 +02:00
fun/games Move render_test to AV 2013-08-25 11:39:13 +02:00
good_customers Move render_test to AV 2013-08-25 11:39:13 +02:00
layout_tests Remove assigns and assert_template. 2015-05-30 14:13:57 +08:00
layouts Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" 2017-07-02 02:15:17 +09:30
quiz/questions Move render_test to AV 2013-08-25 11:39:13 +02:00
test Prefer render template: in tests 2019-03-21 13:44:56 -07:00
hello.html Move render_test to AV 2013-08-25 11:39:13 +02:00
shared.html.erb Move render_test to AV 2013-08-25 11:39:13 +02:00