Update tests for new position of logo

This commit is contained in:
Pat Hawks 2016-10-23 14:48:11 -05:00
parent d999dc0a7e
commit f90fb32d25
No known key found for this signature in database
GPG Key ID: F1746FF5F18B3D1B
1 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ describe Jekyll::SeoTag do
let(:site) { make_site("logo" => "/logo.png", "url" => "http://example.invalid") }
it "outputs the logo" do
expect(json_data["logo"]).to eql("http://example.invalid/logo.png")
expect(json_data["publisher"]["logo"]["url"]).to eql("http://example.invalid/logo.png")
end
end
@ -192,7 +192,7 @@ describe Jekyll::SeoTag do
let(:site) { make_site("logo" => "http://cdn.example.invalid/logo.png", "url" => "http://example.invalid") }
it "outputs the logo" do
expect(json_data["logo"]).to eql("http://cdn.example.invalid/logo.png")
expect(json_data["publisher"]["logo"]["url"]).to eql("http://cdn.example.invalid/logo.png")
end
end