Will now have to render the post, not just transform it.
This commit is contained in:
parent
015ace6773
commit
e78d5dd5cb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue