diff --git a/spec/jekyll-feed_spec.rb b/spec/jekyll-feed_spec.rb index 83d8e6e..6f5d58d 100644 --- a/spec/jekyll-feed_spec.rb +++ b/spec/jekyll-feed_spec.rb @@ -246,7 +246,7 @@ def to_s let(:overrides) { { "feed" => { "icon" => site_icon } } } it "uses site.icon for the icon" do - expect(feed.icon.content).to eql("http://example.org/" + site_icon) + expect(feed.icon.content).to eql("http://example.org/#{site_icon}") end end @@ -255,7 +255,7 @@ def to_s let(:overrides) { { "feed" => { "logo" => site_logo } } } it "uses site.logo for the logo" do - expect(feed.logo.content).to eql("http://example.org/" + site_logo) + expect(feed.logo.content).to eql("http://example.org/#{site_logo}") end end end