diff --git a/test/test_related_posts.rb b/test/test_related_posts.rb index 6111a2242ae..79409f84883 100644 --- a/test/test_related_posts.rb +++ b/test/test_related_posts.rb @@ -29,6 +29,7 @@ class TestRelatedPosts < Test::Unit::TestCase 'destination' => dest_dir, 'lsi' => true}) end + any_instance_of(Jekyll::RelatedPosts) { |i| stub(i).display } @site = Site.new(Jekyll.configuration) end