directory index auto-ignores files already named index

This commit is contained in:
Thomas Reynolds 2011-08-02 09:32:03 -07:00
parent ca2666cbab
commit 12a00e3811
3 changed files with 12 additions and 3 deletions

View file

@ -6,6 +6,8 @@ Feature: Directory Index
Then "needs_index/index.html" should exist at "indexable-app" and include "Indexable"
Then "a_folder/needs_index/index.html" should exist at "indexable-app" and include "Indexable"
Then "leave_me_alone.html" should exist at "indexable-app" and include "Stay away"
Then "regular/index.html" should exist at "indexable-app" and include "Regular"
Then "regular/index/index.html" should not exist at "indexable-app"
Then "needs_index.html" should not exist at "indexable-app"
Then "a_folder/needs_index.html" should not exist at "indexable-app"
Then "leave_me_alone/index.html" should not exist at "indexable-app"