diff --git a/features/collections.feature b/features/collections.feature index 402e7dab..821ae64f 100644 --- a/features/collections.feature +++ b/features/collections.feature @@ -82,3 +82,15 @@ Feature: Collections When I run jekyll build Then the _site directory should exist And I should see "All documents: _methods/configuration.md _methods/sanitized_path.md _methods/site/generate.md _methods/site/initialize.md _methods/um_hi.md" in "_site/index.html" + + Scenario: Documents have an output attribute, which is the converted HTML + Given I have an "index.html" page that contains "First document's output: {{ site.documents.first.output }}" + And I have fixture collections + And I have a "_config.yml" file with content: + """ + collections: + - methods + """ + When I run jekyll build + Then the _site directory should exist + And I should see "First document's output:

Use Jekyll.configuration to build a full configuration for use w/Jekyll.

\n\n

Whatever: foo.bar

" in "_site/index.html"