Skip to content

Commit

Permalink
Merge branch 'master' into hubot/jekyll-seo-tag-v2-7-1
Browse files Browse the repository at this point in the history
  • Loading branch information
parkr committed Jan 22, 2021
2 parents f8a4795 + 6d895c4 commit f2536e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions spec/fixtures/jekyll-seo-tag.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Jekyll SEO Tag
locale: et_EE
---

{% seo %}
8 changes: 6 additions & 2 deletions spec/github-pages/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,12 @@ def rm_destination
end

context "jekyll-seo-tag" do
it "outputs the tag" do
expect(contents).to match("<title>Jekyll SEO Tag")
it "outputs title tag" do
expect(contents).to include("<title>Jekyll SEO Tag | pages-gem</title>")
end

it "outputs OpenGraph locale meta tag" do
expect(contents).to include("<meta property=\"og:locale\" content=\"et_EE\">")
end
end

Expand Down

0 comments on commit f2536e2

Please sign in to comment.