1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-20 07:21:12 +00:00

remove trailing white space from test/functional/workflows_controller_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@16612 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2017-06-06 04:57:39 +00:00
parent 4ef5303b66
commit 0fbfcfafe9

View File

@ -50,7 +50,7 @@ class WorkflowsControllerTest < Redmine::ControllerTest
statuses = IssueStatus.where(:id => [2, 3, 5]).sorted.pluck(:name)
assert_equal ["New issue"] + statuses,
css_select('table.workflows.transitions-always tbody tr td:first').map(&:text).map(&:strip)
# allowed transitions
assert_select 'input[type=checkbox][name=?][value="1"][checked=checked]', 'transitions[3][5][always]'
# not allowed
@ -150,7 +150,7 @@ class WorkflowsControllerTest < Redmine::ControllerTest
def test_post_edit_with_additional_transitions
WorkflowTransition.delete_all
post :edit, :params => {
:role_id => 2,
:tracker_id => 1,
@ -413,7 +413,7 @@ class WorkflowsControllerTest < Redmine::ControllerTest
:target_tracker_ids => ['2', '3'], :target_role_ids => ['1', '3']
}
assert_response 200
assert_select 'div.flash.error', :text => 'Please select a source tracker or role'
assert_select 'div.flash.error', :text => 'Please select a source tracker or role'
end
end