Will now have to render the post, not just transform it.

This commit is contained in:
Parker Moore 2013-07-13 16:18:38 +02:00
parent 015ace6773
commit e78d5dd5cb
1 changed files with 2 additions and 1 deletions

View File

@ -267,9 +267,10 @@ class TestPost < Test::Unit::TestCase
context "#excerpt" do context "#excerpt" do
setup do setup do
file = "2013-01-02-post-excerpt.markdown" file = "2013-01-02-post-excerpt.markdown"
@post = setup_post(file)
@post.process(file) @post.process(file)
@post.read_yaml(@source, file) @post.read_yaml(@source, file)
@post.transform do_render(@post)
end end
should "return first paragraph by default" do should "return first paragraph by default" do