Open nfriedly opened 10 years ago
(I believe that test failure is due to line-endings - it's expecting \n
and getting \r\n
)
I figured out the other part of the issue: on windows, getFilesAtPath('projects/')
doesn't find anything because windows uses backslashes. Fortunately getFilesAtPath('projects')
works.
And then the empty collection causes some bug that results in the template outputting the source instead of the rendered HTML. I haven't tracked that one down yet, but I think I'm going to stop here since it's working for me now.
Hey, I notice that my site partials get rendered as if they were just .html rather than .html.eco when I'm on Windows, so I grabbed a copy of the partials plugin and sure enough, the tests fail on Windows (they all pass on my mac.)
Here's a full copy of the console output: