@@ -702,8 +702,8 EXPECTED | |||||
702 | end |
|
702 | end | |
703 |
|
703 | |||
704 | def test_headings_in_wiki_single_page_export_should_be_prepended_with_page_title |
|
704 | def test_headings_in_wiki_single_page_export_should_be_prepended_with_page_title | |
705 |
page = WikiPage. |
|
705 | page = WikiPage.new( :title => 'Page Title', :wiki_id => 1 ) | |
706 |
content = WikiContent. |
|
706 | content = WikiContent.new( :text => 'h1. Some heading', :page => page ) | |
707 |
|
707 | |||
708 | expected = %|<a name="Page_Title_Some-heading"></a>\n<h1 >Some heading<a href="#Page_Title_Some-heading" class="wiki-anchor">¶</a></h1>| |
|
708 | expected = %|<a name="Page_Title_Some-heading"></a>\n<h1 >Some heading<a href="#Page_Title_Some-heading" class="wiki-anchor">¶</a></h1>| | |
709 |
|
709 |
General Comments 0
You need to be logged in to leave comments.
Login now