Skip to content

Commit b4fc597

Browse files
committed
spec: checking for excerpt should ask for XML node's content
1 parent 9216282 commit b4fc597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/jekyll-feed_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105

106106
it "includes the item's excerpt" do
107107
post = feed.items.last
108-
expect(post.summary).to eql("Foo")
108+
expect(post.summary.content).to eql("Foo")
109109
end
110110

111111
it "doesn't include the item's excerpt if blank" do

0 commit comments

Comments
 (0)