Add a new post, bump @site.posts.size
This commit is contained in:
parent
f883acc664
commit
81a7b22672
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
layout: post
|
||||||
|
title: Post Excerpt with Layout
|
||||||
|
---
|
||||||
|
|
||||||
|
First paragraph with [link ref][link].
|
||||||
|
|
||||||
|
Second paragraph
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Third paragraph
|
||||||
|
|
||||||
|
[link]: http://www.jekyllrb.com/
|
|
@ -14,7 +14,7 @@ class TestGeneratedSite < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
should "ensure post count is as expected" do
|
should "ensure post count is as expected" do
|
||||||
assert_equal 34, @site.posts.size
|
assert_equal 35, @site.posts.size
|
||||||
end
|
end
|
||||||
|
|
||||||
should "insert site.posts into the index" do
|
should "insert site.posts into the index" do
|
||||||
|
|
Loading…
Reference in New Issue