diff --git a/Gemfile b/Gemfile index d9266971..851fabc2 100644 --- a/Gemfile +++ b/Gemfile @@ -1,2 +1,2 @@ source 'https://rubygems.org' -gemspec \ No newline at end of file +gemspec diff --git a/features/site_configuration.feature b/features/site_configuration.feature index 89324cb1..4f807eae 100644 --- a/features/site_configuration.feature +++ b/features/site_configuration.feature @@ -225,3 +225,11 @@ Feature: Site configuration And I should see "Page Layout: 2 on 2010-01-01" in "_site/index.html" And I should see "Post Layout:

content for entry1.

" in "_site/2007/12/31/entry1.html" And I should see "Post Layout:

content for entry2.

" in "_site/2020/01/31/entry2.html" + + Scenario: Add a gem-based plugin + Given I have an "index.html" file that contains "Whatever" + And I have a configuration file with "gems" set to "[jekyll_test_plugin]" + When I run jekyll + Then the _site directory should exist + And I should see "Whatever" in "_site/index.html" + And I should see "this is a test" in "_site/test.txt" diff --git a/jekyll.gemspec b/jekyll.gemspec index 35368433..ce7a211a 100644 --- a/jekyll.gemspec +++ b/jekyll.gemspec @@ -47,6 +47,7 @@ Gem::Specification.new do |s| s.add_development_dependency('simplecov-gem-adapter', "~> 1.0.1") s.add_development_dependency('coveralls', "~> 0.7.0") s.add_development_dependency('activesupport', '~> 3.2.13') + s.add_development_dependency('jekyll_test_plugin') # = MANIFEST = s.files = %w[