From 023c3455e633666fee3a4bbc43c78a9eeb570396 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 7 Oct 2019 07:21:27 +0000 Subject: [PATCH] code cleanup: rubocop: fix Layout/AlignArray in test/functional/issues_controller_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18612 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 1 - test/functional/issues_controller_test.rb | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 8477c8fe9..a785e63b4 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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. diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index c19037255..609028a44 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -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