• Y
    partials inside directory work with `assert_template` · cce94e72
    Yves Senn 提交于
    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
test_case.rb 7.2 KB