Fix RuboCop offense Layout/EmptyLinesAroundClassBody, one of the offenses enabled in rubocop-rails-omakase (#39887).

git-svn-id: https://svn.redmine.org/redmine/trunk@22949 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2024-08-12 07:42:12 +00:00
parent 0c28b0974a
commit de76bb3a4a
17 changed files with 0 additions and 38 deletions

View File

@@ -20,7 +20,6 @@
require_relative '../../test_helper'
class Redmine::ApiTest::ApiRoutingTest < Redmine::ApiTest::Routing
def test_attachments
should_route 'GET /attachments/1' => 'attachments#show', :id => '1'
should_route 'PATCH /attachments/1' => 'attachments#update', :id => '1'

View File

@@ -20,7 +20,6 @@
require_relative '../../../test_helper'
class ThemesTest < Redmine::IntegrationTest
def setup
Redmine::Themes.rescan
@theme = Redmine::Themes.theme('classic')

View File

@@ -20,7 +20,6 @@
require_relative '../../test_helper'
class RoutingActivitiesTest < Redmine::RoutingTest
def test_activity
should_route 'GET /activity' => 'activities#index'
should_route 'GET /activity.atom' => 'activities#index', :format => 'atom'

View File

@@ -20,7 +20,6 @@
require_relative '../../test_helper'
class RoutingRepositoriesTest < Redmine::RoutingTest
def setup
@paths = ['path/to/index.html',
'path/to/file.c', 'path/to/file.yaml', 'path/to/file.txt',

View File

@@ -21,7 +21,6 @@ require_relative '../../../../test_helper'
require 'redmine/field_format'
class Redmine::LinkFieldFormatTest < ActionView::TestCase
def setup
User.current = nil
end