fix test muting to work for Ruby > 1.9
This commit is contained in:
parent
0afe79d1cb
commit
87de8ddeb4
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue