summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.rubocop_todo.yml1
-rw-r--r--test/functional/repositories_git_controller_test.rb1
2 files changed, 1 insertions, 1 deletions
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