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:
parent
37cde69d50
commit
20570cd408
@ -184,7 +184,6 @@ Layout/EmptyLinesAroundAccessModifier:
|
|||||||
- 'config/initializers/10-patches.rb'
|
- 'config/initializers/10-patches.rb'
|
||||||
- 'lib/redmine/syntax_highlighting.rb'
|
- 'lib/redmine/syntax_highlighting.rb'
|
||||||
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
|
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
|
||||||
- 'test/functional/repositories_git_controller_test.rb'
|
|
||||||
|
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
Layout/EmptyLinesAroundArguments:
|
Layout/EmptyLinesAroundArguments:
|
||||||
|
|||||||
@ -686,6 +686,7 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest
|
|||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def with_cache(&block)
|
def with_cache(&block)
|
||||||
before = ActionController::Base.perform_caching
|
before = ActionController::Base.perform_caching
|
||||||
ActionController::Base.perform_caching = true
|
ActionController::Base.perform_caching = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user