rails--rails/actionview/test
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
..
actionpack Pass locals in to the template object on construction 2019-02-25 15:14:53 -08:00
activerecord
fixtures Prefer render template: in tests 2019-03-21 13:44:56 -07:00
lib/controller
template Prefer render template: in tests 2019-03-21 13:44:56 -07:00
ujs Add regression test for HTML content in rails-ujs 2019-03-17 14:52:14 -04:00
abstract_unit.rb Pass locals in to the template object on construction 2019-02-25 15:14:53 -08:00
active_record_unit.rb