Skip to content
  • Yves Senn's avatar
    cce94e72
    partials inside directory work with `assert_template` · cce94e72
    Yves Senn authored
    previously when a partial was placed inside a directory
    (eg. '/dir/_partial'), `assert_template` did not replace
    the '_' prefix when looking through rendered tempaltes,
    which resulted in an error.
    
    I modified it to replace both, the leading '_' and the last '_'
    after a '/'.
    cce94e72
    partials inside directory work with `assert_template`
    Yves Senn authored
    previously when a partial was placed inside a directory
    (eg. '/dir/_partial'), `assert_template` did not replace
    the '_' prefix when looking through rendered tempaltes,
    which resulted in an error.
    
    I modified it to replace both, the leading '_' and the last '_'
    after a '/'.
Loading