Skip to content

Commit

Permalink
fix test muting to work for Ruby > 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
maul.esel committed Sep 12, 2013
1 parent 0afe79d commit 87de8dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_related_posts.rb
Expand Up @@ -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

Expand Down

0 comments on commit 87de8dd

Please sign in to comment.