From 97dd1b3b000a8dc9480952335b0b5d923a256735 Mon Sep 17 00:00:00 2001 From: kristi Date: Mon, 14 May 2012 17:01:39 -0700 Subject: [PATCH] Fix toc test --- test/test_wiki.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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