Test that url is nil when not provided for author

This commit is contained in:
Ilgiz Mustafin 2021-10-07 22:09:19 +03:00
parent 715367d418
commit 45950e9ec2
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ RSpec.describe Jekyll::SeoTag::JSONLDDrop do
expect(subject["author"]).to have_key("name")
expect(subject["author"]["name"]).to be_a(String)
expect(subject["author"]["name"]).to eql("author")
expect(subject["author"]["url"]).to be nil
end
end
end