diff --git a/test/test_post.rb b/test/test_post.rb index dfba0758..f8ba8392 100644 --- a/test/test_post.rb +++ b/test/test_post.rb @@ -323,17 +323,17 @@ class TestPost < Test::Unit::TestCase context "with custom excerpt" do setup do - file = "2013-04-11-custom-excerpt.markdown" - @post.process(file) + file = "2013-04-11-custom-excerpt.markdown" + @post.process(file) @post.read_yaml(@source, file) @post.transform - end + end should "use custom excerpt" do - assert_equal("
I can set a custom excerpt with markdown
", @post.excerpt) - end + assert_equal("I can set a custom excerpt with markdown
", @post.excerpt) + end - end + end end end