fix post#output test
This commit is contained in:
parent
93afa8ca72
commit
7c3cfad2df
|
@ -47,7 +47,7 @@ class TestPost < Test::Unit::TestCase
|
||||||
layouts = {"default" => "<<< {{ content }} >>>"}
|
layouts = {"default" => "<<< {{ content }} >>>"}
|
||||||
p.add_layout(layouts)
|
p.add_layout(layouts)
|
||||||
|
|
||||||
assert_equal "<<< <h1>Foo Bar</h1>\n\n\n\t<p>Best <strong>post</strong> ever</p> >>>", p.content
|
assert_equal "<<< <h1>Foo Bar</h1>\n\n\n\t<p>Best <strong>post</strong> ever</p> >>>", p.output
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_write
|
def test_write
|
||||||
|
|
Loading…
Reference in New Issue