diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index e8653ac67..9e1f2f4ff 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1366,7 +1366,6 @@ Style/MethodCallWithoutArgsParentheses: - 'lib/redmine/helpers/gantt.rb' - 'lib/redmine/scm/adapters/cvs_adapter.rb' - 'lib/redmine/scm/adapters/filesystem_adapter.rb' - - 'test/functional/repositories_git_controller_test.rb' - 'test/unit/activity_test.rb' # Cop supports --auto-correct. diff --git a/test/functional/repositories_git_controller_test.rb b/test/functional/repositories_git_controller_test.rb index 7a3fa13bf..c8a912cb6 100644 --- a/test/functional/repositories_git_controller_test.rb +++ b/test/functional/repositories_git_controller_test.rb @@ -248,7 +248,7 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest def test_entry_show_latin_1 if @ruby19_non_utf8_pass - puts_ruby19_non_utf8_pass() + puts_ruby19_non_utf8_pass elsif WINDOWS_PASS puts WINDOWS_SKIP_STR else @@ -415,7 +415,7 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest def test_diff_latin_1 if @ruby19_non_utf8_pass - puts_ruby19_non_utf8_pass() + puts_ruby19_non_utf8_pass else with_settings :repositories_encodings => 'UTF-8,ISO-8859-1' do ['57ca437c', '57ca437c0acbbcb749821fdf3726a1367056d364'].each do |r1| @@ -545,7 +545,7 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest def test_annotate_latin_1 if @ruby19_non_utf8_pass - puts_ruby19_non_utf8_pass() + puts_ruby19_non_utf8_pass elsif WINDOWS_PASS puts WINDOWS_SKIP_STR else