mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 11:25:55 +01:00
cleanup: rubocop: fix Layout/SpaceInsideParens in test/helpers/application_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19207 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -331,7 +331,6 @@ Layout/SpaceInsideParens:
|
||||
- 'lib/redmine/sudo_mode.rb'
|
||||
- 'lib/redmine/wiki_formatting/textile/formatter.rb'
|
||||
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
|
||||
- 'test/helpers/application_helper_test.rb'
|
||||
- 'test/unit/changeset_test.rb'
|
||||
- 'test/unit/issue_subtasking_test.rb'
|
||||
- 'test/unit/lib/redmine/export/pdf_test.rb'
|
||||
|
||||
@@ -1308,9 +1308,7 @@ class ApplicationHelperTest < Redmine::HelperTest
|
||||
def test_headings_in_wiki_single_page_export_should_be_prepended_with_page_title
|
||||
page = WikiPage.new(:title => 'Page Title', :wiki_id => 1)
|
||||
content = WikiContent.new(:text => 'h1. Some heading', :page => page)
|
||||
|
||||
expected = %|<a name="Page_Title_Some-heading"></a>\n<h1 >Some heading<a href="#Page_Title_Some-heading" class="wiki-anchor">¶</a></h1>|
|
||||
|
||||
assert_equal expected, textilizable(content, :text, :wiki_links => :anchor)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user