]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/SpaceInsideParens in test/unit/query_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 24 Nov 2019 12:57:39 +0000 (12:57 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 24 Nov 2019 12:57:39 +0000 (12:57 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19247 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
test/unit/query_test.rb

index 33ba853c3953154f8ae0e30560661869a4aeed78..a409a463478f3cb36ed44b9fab8d04fd67cfaaf7 100644 (file)
@@ -310,7 +310,6 @@ Layout/SpaceInsideParens:
     - 'test/unit/changeset_test.rb'
     - 'test/unit/issue_subtasking_test.rb'
     - 'test/unit/lib/redmine/export/pdf_test.rb'
-    - 'test/unit/query_test.rb'
 
 # Cop supports --auto-correct.
 Layout/SpaceInsidePercentLiteralDelimiters:
index 3ccfc753a33044b72242b97aa62d0e2345fdbdbd..df6c6155115f5108fb8f40595c99ee51383f17ba 100644 (file)
@@ -1851,7 +1851,7 @@ class QueryTest < ActiveSupport::TestCase
     p = Project.generate! do |project|
       project.status = Project::STATUS_ARCHIVED
     end
-    i = Issue.generate!( :project => p, :tracker => p.trackers.first )
+    i = Issue.generate!(:project => p, :tracker => p.trackers.first)
     assert !i.visible?
 
     test_issue_count