diff options
Diffstat (limited to 'test/unit/helpers/application_helper_test.rb')
-rw-r--r-- | test/unit/helpers/application_helper_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index eea4a83f8..71ef572b0 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -215,10 +215,10 @@ h1. Another title RAW expected = '<ul class="toc">' + - '<li class="heading1"><a href="#1">Title</a></li>' + - '<li class="heading2"><a href="#2">Subtitle</a></li>' + - '<li class="heading2"><a href="#3">Subtitle with red text</a></li>' + - '<li class="heading1"><a href="#4">Another title</a></li>' + + '<li class="heading1"><a href="#Title">Title</a></li>' + + '<li class="heading2"><a href="#Subtitle">Subtitle</a></li>' + + '<li class="heading2"><a href="#Subtitle-with-red-text">Subtitle with red text</a></li>' + + '<li class="heading1"><a href="#Another-title">Another title</a></li>' + '</ul>' assert textilizable(raw).gsub("\n", "").include?(expected) |