diff --git a/test/test_wiki.rb b/test/test_wiki.rb index c3d18e5b..8012494b 100644 --- a/test/test_wiki.rb +++ b/test/test_wiki.rb @@ -116,7 +116,7 @@ context "Wiki TOC" do page = @wiki.preview_page("Test", "# Bilbo", :markdown) assert_equal "# Bilbo", page.raw_data assert_equal '

Bilbo

', page.formatted_data.gsub(/\n/,"") - assert_equal '', page.toc_data.gsub(/\n */,"") + assert_equal %{
Table of Contents
}, page.toc_data.gsub(/\n */,"") end end