diff --git a/spec/jekyll_seo_tag_spec.rb b/spec/jekyll_seo_tag_spec.rb index 6ffbf4f..232c788 100644 --- a/spec/jekyll_seo_tag_spec.rb +++ b/spec/jekyll_seo_tag_spec.rb @@ -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!!) + end + end + context "with page.excerpt" do let(:page) { make_page("excerpt" => "foo") }