1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 23:11:12 +00:00

Remove trailing whitespaces from test/functional/projects_controller_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18004 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2019-03-25 01:54:15 +00:00
parent ffa4e02817
commit 292f5ac97f

View File

@ -173,8 +173,8 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => "blog", :identifier => "blog",
:is_public => 1, :is_public => 1,
:custom_field_values => { :custom_field_values => {
'3' => 'Beta' '3' => 'Beta'
}, },
:tracker_ids => ['1', '3'], :tracker_ids => ['1', '3'],
# an issue custom field that is not for all project # an issue custom field that is not for all project
:issue_custom_field_ids => ['9'], :issue_custom_field_ids => ['9'],
@ -207,10 +207,10 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => "blog", :identifier => "blog",
:is_public => 1, :is_public => 1,
:custom_field_values => { :custom_field_values => {
'3' => 'Beta' '3' => 'Beta'
}, },
:parent_id => 1 :parent_id => 1
} }
} }
assert_redirected_to '/projects/blog/settings' assert_redirected_to '/projects/blog/settings'
@ -229,7 +229,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
:project => { :project => {
:name => "blog", :name => "blog",
:identifier => "blog" :identifier => "blog"
}, },
:continue => 'Create and continue' :continue => 'Create and continue'
} }
end end
@ -247,11 +247,11 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => "blog", :identifier => "blog",
:is_public => 1, :is_public => 1,
:custom_field_values => { :custom_field_values => {
'3' => 'Beta' '3' => 'Beta'
}, },
:tracker_ids => ['1', '3'], :tracker_ids => ['1', '3'],
:enabled_module_names => ['issue_tracking', 'news', 'repository'] :enabled_module_names => ['issue_tracking', 'news', 'repository']
} }
} }
@ -282,10 +282,10 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => "blog", :identifier => "blog",
:is_public => 1, :is_public => 1,
:custom_field_values => { :custom_field_values => {
'3' => 'Beta' '3' => 'Beta'
}, },
:parent_id => 1 :parent_id => 1
} }
} }
end end
@ -305,10 +305,10 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => "blog", :identifier => "blog",
:is_public => 1, :is_public => 1,
:custom_field_values => { :custom_field_values => {
'3' => 'Beta' '3' => 'Beta'
}, },
:parent_id => 1 :parent_id => 1
} }
} }
assert_redirected_to '/projects/blog/settings' assert_redirected_to '/projects/blog/settings'
@ -329,9 +329,9 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => "blog", :identifier => "blog",
:is_public => 1, :is_public => 1,
:custom_field_values => { :custom_field_values => {
'3' => 'Beta' '3' => 'Beta'
} }
} }
} }
end end
@ -353,10 +353,10 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => "blog", :identifier => "blog",
:is_public => 1, :is_public => 1,
:custom_field_values => { :custom_field_values => {
'3' => 'Beta' '3' => 'Beta'
}, },
:parent_id => 6 :parent_id => 6
} }
} }
end end
@ -377,7 +377,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
:name => "blog1", :name => "blog1",
:identifier => "blog1", :identifier => "blog1",
:enabled_module_names => ["issue_tracking", "repository"] :enabled_module_names => ["issue_tracking", "repository"]
} }
} }
end end
@ -390,7 +390,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
:name => "blog2", :name => "blog2",
:identifier => "blog2", :identifier => "blog2",
:enabled_module_names => ["issue_tracking", "repository"] :enabled_module_names => ["issue_tracking", "repository"]
} }
} }
end end
@ -410,7 +410,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => 'inherited', :identifier => 'inherited',
:parent_id => parent.id, :parent_id => parent.id,
:inherit_members => '1' :inherit_members => '1'
} }
} }
assert_response 302 assert_response 302
@ -432,7 +432,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
:name => "blog", :name => "blog",
:identifier => "", :identifier => "",
:enabled_module_names => %w(issue_tracking news) :enabled_module_names => %w(issue_tracking news)
} }
} }
end end
@ -542,7 +542,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
@request.session[:user_id] = 1 @request.session[:user_id] = 1
project = Project.find_by_identifier('ecookbook') project = Project.find_by_identifier('ecookbook')
project.archive project.archive
get :show, :params => { get :show, :params => {
:id => 'ecookbook' :id => 'ecookbook'
} }
@ -960,8 +960,8 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => 'unique-copy', :identifier => 'unique-copy',
:tracker_ids => ['1', '2', '3', ''], :tracker_ids => ['1', '2', '3', ''],
:enabled_module_names => %w(issue_tracking time_tracking) :enabled_module_names => %w(issue_tracking time_tracking)
}, },
:only => %w(issues versions) :only => %w(issues versions)
} }
end end