diff --git a/spec/jekyll_seo_tag/drop_spec.rb b/spec/jekyll_seo_tag/drop_spec.rb index 47a24bd..2eaa915 100644 --- a/spec/jekyll_seo_tag/drop_spec.rb +++ b/spec/jekyll_seo_tag/drop_spec.rb @@ -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