Use current version in minify test

This commit is contained in:
Pat Hawks 2016-03-02 09:13:12 -08:00
parent 62e82338be
commit 556b8e45fa
No known key found for this signature in database
GPG Key ID: F1746FF5F18B3D1B
1 changed files with 2 additions and 1 deletions

View File

@ -135,8 +135,9 @@ describe Jekyll::SeoTag do
end
it 'minifies the output' do
version = Jekyll::SeoTag::VERSION
expected = <<-EOS
<!-- Begin Jekyll SEO tag v1.3.1 -->
<!-- Begin Jekyll SEO tag v#{version} -->
<title>Foo</title>
<meta property="og:title" content="Foo" />
<link rel="canonical" href="http://example.invalid/page.html" />