fix tests for always-present slash

This commit is contained in:
maul.esel 2013-04-20 13:21:31 +02:00
parent d73841c961
commit 6f28b6d432
1 changed files with 2 additions and 2 deletions

View File

@ -71,8 +71,8 @@ class TestPost < Test::Unit::TestCase
@post.read_yaml(@source, file) @post.read_yaml(@source, file)
assert_equal "my_category/permalinked-post", @post.permalink assert_equal "my_category/permalinked-post", @post.permalink
assert_equal "my_category", @post.dir assert_equal "/my_category", @post.dir
assert_equal "my_category/permalinked-post", @post.url assert_equal "/my_category/permalinked-post", @post.url
end end
context "with CRLF linebreaks" do context "with CRLF linebreaks" do