From eb36ea095fb948ad21a820ba35fe145a43cbf352 Mon Sep 17 00:00:00 2001 From: Ashwin Maroli Date: Sun, 5 Feb 2017 01:56:49 +0530 Subject: [PATCH] test overriding default excludes --- features/site_configuration.feature | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/site_configuration.feature b/features/site_configuration.feature index 2d00f9b7..3aace794 100644 --- a/features/site_configuration.feature +++ b/features/site_configuration.feature @@ -44,9 +44,11 @@ Feature: Site configuration Given I have an "Rakefile" file that contains "I want to be excluded" And I have an "README" file that contains "I want to be excluded" And I have an "index.html" file that contains "I want to be included" + And I have a "Gemfile" file that contains "gem 'include-me'" And I have a configuration file with "exclude" set to "['Rakefile', 'README']" When I run jekyll build Then I should see "I want to be included" in "_site/index.html" + And the "_site/Gemfile" file should exist And the "_site/Rakefile" file should not exist And the "_site/README" file should not exist