• J
    Prefer render template: in tests · f35631d4
    John Hawthorn 提交于
    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:`.
    f35631d4
translation_helper_test.rb 9.1 KB