]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/AlignArray in test/functional/issues_controller_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 7 Oct 2019 07:21:27 +0000 (07:21 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 7 Oct 2019 07:21:27 +0000 (07:21 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18612 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
test/functional/issues_controller_test.rb

index 8477c8fe959bfc9956f4574972e7477dbe107592..a785e63b4ce694b796c56071734b243931e23aa7 100644 (file)
@@ -39,7 +39,6 @@ Layout/AlignArray:
   Exclude:
     - 'app/models/setting.rb'
     - 'lib/redmine/default_data/loader.rb'
-    - 'test/functional/issues_controller_test.rb'
 
 # Cop supports --auto-correct.
 # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
index c1903725538e73b51b75edabaaa7238a9b0d11ba..609028a44d50512c5843e33cd25edf75582293a1 100644 (file)
@@ -703,16 +703,13 @@ class IssuesControllerTest < Redmine::ControllerTest
 
   def test_index_csv_with_description
     Issue.generate!(:description => 'test_index_csv_with_description')
-
     with_settings :default_language => 'en' do
       get :index, :params => {
           :format => 'csv',
-          :c => [:tracker,
-          :description]
+          :c => [:tracker, :description]
         }
       assert_response :success
     end
-
     assert_equal 'text/csv', response.content_type
     headers = response.body.chomp.split("\n").first.split(',')
     assert_include 'Description', headers