Feature: Collections As a hacker who likes to structure content I want to be able to create collections of similar information And render them Scenario: Unrendered collection Given I have an "index.html" page that contains "Collections: {{ site.collections }}" And I have fixture collections And I have a configuration file with "collections" set to "['methods']" When I debug jekyll Then the _site directory should exist And I should see "Collections: {\"methods\"=>#, #, #, #, #\]>}" in "_site/index.html" Scenario: Rendered collection Given I have an "index.html" page that contains "Collections: {{ site.collections.methods.label }}" And I have fixture collections And I have a configuration file with: | key | value | | collections | ['methods'] | | render | ['methods'] | When I run jekyll Then the _site directory should exist And I should see "Collections: methods" in "_site/index.html" And I should see "Whatever: foo.bar" in "_site/methods/configuration.html"