Skip to content
  • John Hawthorn's avatar
    f35631d4
    Prefer render template: in tests · f35631d4
    John Hawthorn authored
    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
    Prefer render template: in tests
    John Hawthorn authored
    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:`.
Loading