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