From 6f28b6d432eb5f8c2262729e25dd33bdcad33366 Mon Sep 17 00:00:00 2001 From: "maul.esel" Date: Sat, 20 Apr 2013 13:21:31 +0200 Subject: [PATCH] fix tests for always-present slash --- test/test_post.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_post.rb b/test/test_post.rb index 9fe29100..1d7b8539 100644 --- a/test/test_post.rb +++ b/test/test_post.rb @@ -71,8 +71,8 @@ class TestPost < Test::Unit::TestCase @post.read_yaml(@source, file) assert_equal "my_category/permalinked-post", @post.permalink - assert_equal "my_category", @post.dir - assert_equal "my_category/permalinked-post", @post.url + assert_equal "/my_category", @post.dir + assert_equal "/my_category/permalinked-post", @post.url end context "with CRLF linebreaks" do