mirror of
https://github.com/redmine/redmine.git
synced 2026-05-06 07:55:50 +02:00
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:
@@ -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'
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
require_relative '../../../test_helper'
|
||||
|
||||
class ThemesTest < Redmine::IntegrationTest
|
||||
|
||||
def setup
|
||||
Redmine::Themes.rescan
|
||||
@theme = Redmine::Themes.theme('classic')
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -21,7 +21,6 @@ require_relative '../../../../test_helper'
|
||||
require 'redmine/field_format'
|
||||
|
||||
class Redmine::LinkFieldFormatTest < ActionView::TestCase
|
||||
|
||||
def setup
|
||||
User.current = nil
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user