From ce1f01c4949f52862bb1243da9ee4aee67c6473b Mon Sep 17 00:00:00 2001 From: Alfred Xing Date: Mon, 7 Jul 2014 10:49:36 -0700 Subject: [PATCH] Modify tests a bit --- test/test_document.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/test_document.rb b/test/test_document.rb index bac02550..330a1846 100644 --- a/test/test_document.rb +++ b/test/test_document.rb @@ -179,11 +179,10 @@ class TestDocument < Test::Unit::TestCase should "know its permalink" do assert_equal "/slide/3/", @document.permalink - assert_equal "/slide/3/index.html", @document.url end - should "be written to its permalink" do - assert File.exist?(@dest_file), "Can't find the rendered file in the dest_dir." + should "produce the right URL" do + assert_equal "/slide/3/", @document.url end end