test/test_generated_site.rb in jekyll-0.5.4 vs test/test_generated_site.rb in jekyll-0.5.5

- old
+ new

@@ -11,9 +11,13 @@ @site = Site.new(Jekyll.configuration) @site.process @index = File.read(dest_dir('index.html')) end + should "ensure post count is as expected" do + assert_equal 17, @site.posts.size + end + should "insert site.posts into the index" do assert @index.include?("#{@site.posts.size} Posts") end should "render latest post's content" do