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