From 5219054a7607f2c3be38987e316aff0e1358bca9 Mon Sep 17 00:00:00 2001 From: Frank Taillandier Date: Wed, 6 Sep 2017 00:25:14 +0200 Subject: [PATCH] add test for Jekyll version --- spec/jekyll_seo_tag_integration_spec.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spec/jekyll_seo_tag_integration_spec.rb b/spec/jekyll_seo_tag_integration_spec.rb index 22dcd08..3073d79 100755 --- a/spec/jekyll_seo_tag_integration_spec.rb +++ b/spec/jekyll_seo_tag_integration_spec.rb @@ -23,6 +23,11 @@ RSpec.describe Jekyll::SeoTag do expect(output).to match(%r!Jekyll SEO tag v#{version}!i) end + it "outputs jekyll version" do + jekyll_version = Jekyll::VERSION + expect(output).to match(%r!Jekyll v#{jekyll_version}!i) + end + it "outputs valid HTML" do site.process options = { @@ -296,6 +301,7 @@ RSpec.describe Jekyll::SeoTag do expected = <<-EOS Foo +