diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-03-03 22:24:58 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-03-03 22:24:58 +0000 |
commit | 54aa8102406d69a56b8927de8eaa529794c37ad6 (patch) | |
tree | 3218923432ac802ef4542a563addae6fbec720ef /test/functional | |
parent | 18cb44684b79d23dc1c45e4a9eeeb73dda5e9194 (diff) | |
download | redmine-54aa8102406d69a56b8927de8eaa529794c37ad6.tar.gz redmine-54aa8102406d69a56b8927de8eaa529794c37ad6.zip |
Fix rubocop warning (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22757 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/help_controller_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/help_controller_test.rb b/test/functional/help_controller_test.rb index c3ac44d71..c988ce7f0 100644 --- a/test/functional/help_controller_test.rb +++ b/test/functional/help_controller_test.rb @@ -29,14 +29,14 @@ class HelpControllerTest < Redmine::ControllerTest :common_mark => "Wiki Syntax Quick Reference (CommonMark Markdown (GitHub Flavored))" } - formatters.each {|formatter, result| + formatters.each do |formatter, result| with_settings :text_formatting => formatter do get :show_wiki_syntax assert_response :success assert_select 'h1', :text => result end - } + end end def test_get_help_wiki_syntax_detailed @@ -46,7 +46,7 @@ class HelpControllerTest < Redmine::ControllerTest :common_mark => "Wiki formatting (CommonMark Markdown (GitHub Flavored))" } - formatters.each {|formatter, result| + formatters.each do |formatter, result| with_settings :text_formatting => formatter do get :show_wiki_syntax, :params => { :type => 'detailed' @@ -55,7 +55,7 @@ class HelpControllerTest < Redmine::ControllerTest assert_response :success assert_select 'h1', :text => result end - } + end end def test_get_help_wiki_syntax_should_return_lang_if_available |