diff --git a/features/create_sites.feature b/features/create_sites.feature index f09b5a66..6ae7a08a 100644 --- a/features/create_sites.feature +++ b/features/create_sites.feature @@ -82,4 +82,13 @@ Feature: Create sites And I have an "info/index.html" page that contains "Basic Site with subdir include tag: {% include about.textile %}" When I run jekyll Then the _site directory should exist - And I should see "Basic Site with subdir include tag: Generated by Jekyll" in "_site/info/index.html" \ No newline at end of file + And I should see "Basic Site with subdir include tag: Generated by Jekyll" in "_site/info/index.html" + + Scenario: Basic site with nested include tag + Given I have a _includes directory + And I have an "_includes/about.textile" file that contains "Generated by {% include jekyll.textile %}" + And I have an "_includes/jekyll.textile" file that contains "Jekyll" + And I have an "index.html" page that contains "Basic Site with include tag: {% include about.textile %}" + When I run jekyll + Then the _site directory should exist + And I should see "Basic Site with include tag: Generated by Jekyll" in "_site/index.html" \ No newline at end of file