summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-08-12 07:42:12 +0000
committerGo MAEDA <maeda@farend.jp>2024-08-12 07:42:12 +0000
commitde76bb3a4a00146f8d53dbc25f2e90ca99910a22 (patch)
tree9927c2a114ec980e8c0584f615754db0ea2d0162 /test/integration
parent0c28b0974adb3d9f777fbf0cc9234b1a7de144bf (diff)
downloadredmine-de76bb3a4a00146f8d53dbc25f2e90ca99910a22.tar.gz
redmine-de76bb3a4a00146f8d53dbc25f2e90ca99910a22.zip
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
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/api_test/api_routing_test.rb1
-rw-r--r--test/integration/lib/redmine/themes_test.rb1
-rw-r--r--test/integration/routing/activities_test.rb1
-rw-r--r--test/integration/routing/repositories_test.rb1
4 files changed, 0 insertions, 4 deletions
diff --git a/test/integration/api_test/api_routing_test.rb b/test/integration/api_test/api_routing_test.rb
index d5e19f06c..9ba547275 100644
--- a/test/integration/api_test/api_routing_test.rb
+++ b/test/integration/api_test/api_routing_test.rb
@@ -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'
diff --git a/test/integration/lib/redmine/themes_test.rb b/test/integration/lib/redmine/themes_test.rb
index c5eaee65d..f5fbc89b6 100644
--- a/test/integration/lib/redmine/themes_test.rb
+++ b/test/integration/lib/redmine/themes_test.rb
@@ -20,7 +20,6 @@
require_relative '../../../test_helper'
class ThemesTest < Redmine::IntegrationTest
-
def setup
Redmine::Themes.rescan
@theme = Redmine::Themes.theme('classic')
diff --git a/test/integration/routing/activities_test.rb b/test/integration/routing/activities_test.rb
index 1a89e13cb..742e80455 100644
--- a/test/integration/routing/activities_test.rb
+++ b/test/integration/routing/activities_test.rb
@@ -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'
diff --git a/test/integration/routing/repositories_test.rb b/test/integration/routing/repositories_test.rb
index 466b140bf..6bfbedb70 100644
--- a/test/integration/routing/repositories_test.rb
+++ b/test/integration/routing/repositories_test.rb
@@ -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',