aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/college.rb
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2019-03-19 11:56:53 -0700
committerJohn Hawthorn <john@hawthorn.email>2019-03-21 13:44:56 -0700
commitf35631d46610ac62d57743bdb5f71a0039b1cf78 (patch)
tree5a8f9e7171d21faad292613b23e86bb58cf21223 /activerecord/test/models/college.rb
parent382a9563a3bc3dd1982f4db1258e8f0e7f5fac8e (diff)
downloadrails-f35631d46610ac62d57743bdb5f71a0039b1cf78.tar.gz
rails-f35631d46610ac62d57743bdb5f71a0039b1cf78.tar.bz2
rails-f35631d46610ac62d57743bdb5f71a0039b1cf78.zip
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:`.
Diffstat (limited to 'activerecord/test/models/college.rb')
0 files changed, 0 insertions, 0 deletions