Fix test - props @Parkr
This commit is contained in:
parent
f9cabae8a6
commit
a6e78cb7dd
|
@ -23,9 +23,8 @@ 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)
|
||||
it "outputs meta generator" do
|
||||
expect(output).to match(%r!Jekyll v#{Jekyll::VERSION}!i)
|
||||
end
|
||||
|
||||
it "outputs valid HTML" do
|
||||
|
@ -301,7 +300,7 @@ RSpec.describe Jekyll::SeoTag do
|
|||
expected = <<-EOS
|
||||
<!-- Begin Jekyll SEO tag v#{version} -->
|
||||
<title>Foo</title>
|
||||
<meta name="generator" content="Jekyll v3.5.2" />
|
||||
<meta name="generator" content="Jekyll v#{Jekyll::VERSION}" />
|
||||
<meta property="og:title" content="Foo" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<link rel="canonical" href="http://example.invalid/page.html" />
|
||||
|
|
Loading…
Reference in New Issue