Add test for PR #103

This commit is contained in:
kyle 2017-01-25 11:37:35 -05:00
parent 5437934214
commit 644e976fbd
1 changed files with 8 additions and 0 deletions

View File

@ -70,6 +70,14 @@ describe Jekyll::SeoTag do
end
end
context "with page.author" do
let(:page) { make_page("author" => "Mr. Foo") }
it "uses the page author" do
expect(output).to match(%r!<meta name="author" content="Mr. Foo" />!)
end
end
context "with page.excerpt" do
let(:page) { make_page("excerpt" => "foo") }