middleman/middleman — pull request #305 by bhollis (2012-03-08 06:17:54+00:00)
Title: Fix current_page helper

The current_page helper wasn't working quite right - it was accidentally creating a new page in certain circumstances (especially when directory indexes were on) that had the wrong info. This fixes it, as well as enabling a couple tests that weren't running because they had a `.feature*s*` extension instead of `.feature`. The `sitemap_traversal.feature` test was the one pertaining to what I was fixing, which is probably why we didn't notice it was broken.