mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
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
This commit is contained in:
parent
7d70e5175a
commit
023c3455e6
@ -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.
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user