update test expectations

This commit is contained in:
Ben Balter 2017-04-26 10:52:03 -04:00
parent c2f6d1a795
commit b3c2cec0a0
No known key found for this signature in database
GPG Key ID: DBB67C246AD356C4
1 changed files with 4 additions and 4 deletions

View File

@ -123,10 +123,10 @@ RSpec.describe Jekyll::SeoTag::Drop do
end
context "with site.social as an array" do
let(:config) { { "social" => ["a", "b"] } }
let(:config) { { "social" => %w(a b) } }
it "uses site.social.name" do
expect(subject.name).to eql("social name")
expect(subject.name).to be_nil
end
end
@ -326,10 +326,10 @@ RSpec.describe Jekyll::SeoTag::Drop do
end
context "with seo as an array" do
let(:page_meta) { { "seo" => ["a", "b"] } }
let(:page_meta) { { "seo" => %w(a b) } }
it "uses seo.type" do
expect(subject.type).to eql("test")
expect(subject.type).to eql("WebPage")
end
end