From c5d807dd58ed0a7966acabedb237a4c6c6ee8039 Mon Sep 17 00:00:00 2001 From: bootstraponline Date: Wed, 2 May 2012 12:13:18 -0600 Subject: [PATCH] Fix tests. --- test/test_page.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_page.rb b/test/test_page.rb index 5ba48a55..9adf4660 100644 --- a/test/test_page.rb +++ b/test/test_page.rb @@ -104,12 +104,12 @@ context "Page" do assert_equal 'My Precious', page.title end - test "title from h1 with normal contents" do + test "title from filename with normal contents" do page = @wiki.page('Home') - assert_equal "The LOTR Wiki", page.title + assert_equal "Home", page.title end - test "title from h1 with html contents" do + test "title from filename with html contents" do page = @wiki.page('Eye Of Sauron') assert_equal "Eye Of Sauron", page.title end @@ -163,4 +163,4 @@ context "Page" do assert_equal "/foo", Gollum::BlobEntry.normalize_dir("foo") assert_equal "/foo", Gollum::BlobEntry.normalize_dir("/foo") end -end \ No newline at end of file +end