From 20570cd408602a081f24513b24aa6e1e387748ad Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 3 Aug 2019 05:34:31 +0000 Subject: [PATCH] rubocop: fix Layout/EmptyLinesAroundAccessModifier of test/functional/repositories_git_controller_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18341 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 1 - test/functional/repositories_git_controller_test.rb | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 1cdc1233a..50960b42a 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -184,7 +184,6 @@ Layout/EmptyLinesAroundAccessModifier: - 'config/initializers/10-patches.rb' - 'lib/redmine/syntax_highlighting.rb' - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' - - 'test/functional/repositories_git_controller_test.rb' # Cop supports --auto-correct. Layout/EmptyLinesAroundArguments: diff --git a/test/functional/repositories_git_controller_test.rb b/test/functional/repositories_git_controller_test.rb index 978bf6918..7a3fa13bf 100644 --- a/test/functional/repositories_git_controller_test.rb +++ b/test/functional/repositories_git_controller_test.rb @@ -686,6 +686,7 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest end private + def with_cache(&block) before = ActionController::Base.perform_caching ActionController::Base.perform_caching = true