]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs and Layout/EmptyLines in app...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 15 Oct 2019 05:07:17 +0000 (05:07 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 15 Oct 2019 05:07:17 +0000 (05:07 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18674 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
test/unit/project_test.rb

index d350ece647fb85a5a4b68c8e9a2e9b321871a213..1aae23a911d77a5ebfece1e9ab366d3b2f40d56d 100644 (file)
@@ -128,7 +128,6 @@ Layout/EmptyLineAfterGuardClause:
 Layout/EmptyLineBetweenDefs:
   Exclude:
     - 'app/models/version.rb'
-    - 'test/unit/project_test.rb'
 
 # Cop supports --auto-correct.
 Layout/EmptyLines:
@@ -143,7 +142,6 @@ Layout/EmptyLines:
     - 'test/functional/project_enumerations_controller_test.rb'
     - 'test/helpers/application_helper_test.rb'
     - 'test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb'
-    - 'test/unit/project_test.rb'
     - 'test/unit/query_test.rb'
 
 # Cop supports --auto-correct.
index 8d447f474c18b76ff87a07af5ce1c4d2a061de62..3858eba45dd90ae535a1715cb9bb55e57f7284e6 100644 (file)
@@ -789,7 +789,6 @@ class ProjectTest < ActiveSupport::TestCase
     assert_kind_of ActiveRecord::Relation, project.activities
   end
 
-
   def test_activities_should_use_the_project_specific_activities
     project = Project.find(1)
     overridden_activity = TimeEntryActivity.new({:name => "Project", :project => project})