test/test_generated_site.rb in jekyll-0.3.0 vs test/test_generated_site.rb in jekyll-0.4.1
- old
+ new
@@ -9,9 +9,10 @@
@index = File.read(File.join(dest_dir, 'index.html'))
end
def test_site_posts_in_index
# confirm that {{ site.posts }} is working
+ puts @s.posts.size
assert @index.include?("#{@s.posts.size} Posts")
end
def test_post_content_in_index
# confirm that the {{ post.content }} is rendered OK