1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2019-08-03 05:34:31 +00:00
parent 37cde69d50
commit 20570cd408
2 changed files with 1 additions and 1 deletions

View File

@ -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:

View File

@ -686,6 +686,7 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest
end
private
def with_cache(&block)
before = ActionController::Base.perform_caching
ActionController::Base.perform_caching = true