fix indentation of test
This commit is contained in:
parent
0113fea7a1
commit
2792e1e427
|
@ -323,17 +323,17 @@ class TestPost < Test::Unit::TestCase
|
||||||
|
|
||||||
context "with custom excerpt" do
|
context "with custom excerpt" do
|
||||||
setup do
|
setup do
|
||||||
file = "2013-04-11-custom-excerpt.markdown"
|
file = "2013-04-11-custom-excerpt.markdown"
|
||||||
@post.process(file)
|
@post.process(file)
|
||||||
@post.read_yaml(@source, file)
|
@post.read_yaml(@source, file)
|
||||||
@post.transform
|
@post.transform
|
||||||
end
|
end
|
||||||
|
|
||||||
should "use custom excerpt" do
|
should "use custom excerpt" do
|
||||||
assert_equal("<p>I can set a custom excerpt with <em>markdown</em></p>", @post.excerpt)
|
assert_equal("<p>I can set a custom excerpt with <em>markdown</em></p>", @post.excerpt)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue